mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Fix white-spaces in documentation.
This commit is contained in:
parent
c33998c140
commit
6e5a81f907
1 changed files with 2 additions and 2 deletions
|
@ -237,7 +237,7 @@ var Tool = this.Tool = PaperScopeItem.extend(Callback, /** @lends Tool# */{
|
|||
* path.fillColor = 'red';
|
||||
*
|
||||
* function onKeyDown(event) {
|
||||
* if(event.key == 'space') {
|
||||
* if (event.key == 'space') {
|
||||
* // Scale the path by 110%:
|
||||
* path.scale(1.1);
|
||||
*
|
||||
|
@ -262,7 +262,7 @@ var Tool = this.Tool = PaperScopeItem.extend(Callback, /** @lends Tool# */{
|
|||
*
|
||||
* @example
|
||||
* function onKeyUp(event) {
|
||||
* if(event.key == 'space') {
|
||||
* if (event.key == 'space') {
|
||||
* console.log('The spacebar was released!');
|
||||
* }
|
||||
* }
|
||||
|
|
Loading…
Reference in a new issue