mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 05:42:07 -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';
|
* path.fillColor = 'red';
|
||||||
*
|
*
|
||||||
* function onKeyDown(event) {
|
* function onKeyDown(event) {
|
||||||
* if(event.key == 'space') {
|
* if (event.key == 'space') {
|
||||||
* // Scale the path by 110%:
|
* // Scale the path by 110%:
|
||||||
* path.scale(1.1);
|
* path.scale(1.1);
|
||||||
*
|
*
|
||||||
|
@ -262,7 +262,7 @@ var Tool = this.Tool = PaperScopeItem.extend(Callback, /** @lends Tool# */{
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* function onKeyUp(event) {
|
* function onKeyUp(event) {
|
||||||
* if(event.key == 'space') {
|
* if (event.key == 'space') {
|
||||||
* console.log('The spacebar was released!');
|
* console.log('The spacebar was released!');
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
|
|
Loading…
Reference in a new issue