mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-27 14:20:12 -04:00
Fix formatting issues.
This commit is contained in:
parent
c7c49d4091
commit
a457228846
5 changed files with 24 additions and 21 deletions
src
|
@ -10,7 +10,7 @@
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name ProxyContext
|
* @name ProxyContext
|
||||||
*
|
*
|
||||||
* @class The ProxyContext is a helper class that helps Canvas debugging
|
* @class The ProxyContext is a helper class that helps Canvas debugging
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name _global_
|
* @name _global_
|
||||||
* @namespace
|
* @namespace
|
||||||
*
|
*
|
||||||
|
|
|
@ -15,6 +15,9 @@
|
||||||
// PaperScope, and create the initial paper object, all in one statement:
|
// PaperScope, and create the initial paper object, all in one statement:
|
||||||
/*#*/ if (__options.environment == 'browser') {
|
/*#*/ if (__options.environment == 'browser') {
|
||||||
|
|
||||||
|
// NOTE: Do not create local variable `var paper` since it would shield the
|
||||||
|
// global one in the whole scope.
|
||||||
|
|
||||||
paper = new (PaperScope.inject(Base.exports, {
|
paper = new (PaperScope.inject(Base.exports, {
|
||||||
// Mark fields as enumerable so PaperScope.inject can pick them up
|
// Mark fields as enumerable so PaperScope.inject can pick them up
|
||||||
enumerable: true,
|
enumerable: true,
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Component
|
* @name Component
|
||||||
* @class
|
* @class
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Palette
|
* @name Palette
|
||||||
* @class
|
* @class
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue