Skip to content

Commit b08bfec

Browse files
committed
Fixed Key jsdocs phaserjs#1157
1 parent 004deff commit b08bfec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/input/Key.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Phaser.Key.prototype = {
216216
},
217217

218218
/**
219-
* Returns the "just pressed" state of the Key. Just pressed is considered true if the key was pressed down within the duration given (default 250ms)
219+
* Returns the "just pressed" state of the Key. Just pressed is considered true if the key was pressed down within the duration given.
220220
* @method Phaser.Key#justPressed
221221
* @param {number} [duration=50] - The duration below which the key is considered as being just pressed.
222222
* @return {boolean} True if the key is just pressed otherwise false.
@@ -230,7 +230,7 @@ Phaser.Key.prototype = {
230230
},
231231

232232
/**
233-
* Returns the "just released" state of the Key. Just released is considered as being true if the key was released within the duration given (default 250ms)
233+
* Returns the "just released" state of the Key. Just released is considered as being true if the key was released within the duration given.
234234
* @method Phaser.Key#justReleased
235235
* @param {number} [duration=50] - The duration below which the key is considered as being just released.
236236
* @return {boolean} True if the key is just released otherwise false.

0 commit comments

Comments
 (0)