Fix formatting issues.

This commit is contained in:
Jürg Lehni 2014-10-08 15:52:41 +02:00
parent c7c49d4091
commit a457228846
5 changed files with 24 additions and 21 deletions

View file

@ -10,7 +10,7 @@
* All rights reserved.
*/
/**
/**
* @name ProxyContext
*
* @class The ProxyContext is a helper class that helps Canvas debugging

View file

@ -10,18 +10,18 @@
* All rights reserved.
*/
/**
* @name _global_
* @namespace
*
* When code is executed as PaperScript, the script's scope is populated with
* all fields of the currently active {@link PaperScope} object, which within
* the script appear to be global.
*
* In a JavaScript context, only the {@link paper} variable is added to the
* global scope, referencing the currently active {@link PaperScope} object,
* through which all properties and Paper.js classes can be accessed.
*/
/**
* @name _global_
* @namespace
*
* When code is executed as PaperScript, the script's scope is populated with
* all fields of the currently active {@link PaperScope} object, which within
* the script appear to be global.
*
* In a JavaScript context, only the {@link paper} variable is added to the
* global scope, referencing the currently active {@link PaperScope} object,
* through which all properties and Paper.js classes can be accessed.
*/
/** @scope _global_ */{
/**

View file

@ -15,6 +15,9 @@
// PaperScope, and create the initial paper object, all in one statement:
/*#*/ 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, {
// Mark fields as enumerable so PaperScope.inject can pick them up
enumerable: true,

View file

@ -10,10 +10,10 @@
* All rights reserved.
*/
/**
* @name Component
* @class
*/
/**
* @name Component
* @class
*/
var Component = Base.extend(Emitter, /** @lends Component# */{
_class: 'Component',
_events: [ 'onChange', 'onClick' ],

View file

@ -10,10 +10,10 @@
* All rights reserved.
*/
/**
* @name Palette
* @class
*/
/**
* @name Palette
* @class
*/
var Palette = Base.extend(Emitter, /** @lends Palette# */{
_class: 'Palette',
_events: [ 'onChange' ],