From 5645690174e500551ad249f7c857b4b9eeab321e Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 30 Nov 2014 13:04:02 -0800 Subject: [PATCH] General docs - reverting src/pixi changes (Because outside of control, really.) --- src/pixi/display/DisplayObject.js | 10 +++++----- src/pixi/display/DisplayObjectContainer.js | 2 +- src/pixi/display/MovieClip.js | 6 +++--- src/pixi/display/Stage.js | 2 +- src/pixi/loaders/BitmapFontLoader.js | 2 +- src/pixi/loaders/ImageLoader.js | 2 +- src/pixi/loaders/JsonLoader.js | 4 ++-- src/pixi/loaders/SpineLoader.js | 2 +- src/pixi/loaders/SpriteSheetLoader.js | 2 +- src/pixi/text/BitmapText.js | 4 ++-- src/pixi/textures/BaseTexture.js | 6 +++--- src/pixi/utils/EventTarget.js | 12 ++++++------ 12 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/pixi/display/DisplayObject.js b/src/pixi/display/DisplayObject.js index 6c07927e2..03d53eb4d 100644 --- a/src/pixi/display/DisplayObject.js +++ b/src/pixi/display/DisplayObject.js @@ -108,7 +108,7 @@ PIXI.DisplayObject = function() * * @property parent * @type DisplayObjectContainer - * @readonly + * @readOnly */ this.parent = null; @@ -117,7 +117,7 @@ PIXI.DisplayObject = function() * * @property stage * @type Stage - * @readonly + * @readOnly */ this.stage = null; @@ -126,7 +126,7 @@ PIXI.DisplayObject = function() * * @property worldAlpha * @type Number - * @readonly + * @readOnly */ this.worldAlpha = 1; @@ -135,7 +135,7 @@ PIXI.DisplayObject = function() * * @property _interactive * @type Boolean - * @readonly + * @readOnly * @private */ this._interactive = false; @@ -154,7 +154,7 @@ PIXI.DisplayObject = function() * * @property worldTransform * @type Matrix - * @readonly + * @readOnly * @private */ this.worldTransform = new PIXI.Matrix(); diff --git a/src/pixi/display/DisplayObjectContainer.js b/src/pixi/display/DisplayObjectContainer.js index e164085a4..e3ccc207d 100644 --- a/src/pixi/display/DisplayObjectContainer.js +++ b/src/pixi/display/DisplayObjectContainer.js @@ -19,7 +19,7 @@ PIXI.DisplayObjectContainer = function() * * @property children * @type Array(DisplayObject) - * @readonly + * @readOnly */ this.children = []; diff --git a/src/pixi/display/MovieClip.js b/src/pixi/display/MovieClip.js index 057ab71cd..74239eb85 100644 --- a/src/pixi/display/MovieClip.js +++ b/src/pixi/display/MovieClip.js @@ -54,7 +54,7 @@ PIXI.MovieClip = function(textures) * @property currentFrame * @type Number * @default 0 - * @readonly + * @readOnly */ this.currentFrame = 0; @@ -63,7 +63,7 @@ PIXI.MovieClip = function(textures) * * @property playing * @type Boolean - * @readonly + * @readOnly */ this.playing = false; }; @@ -79,7 +79,7 @@ PIXI.MovieClip.prototype.constructor = PIXI.MovieClip; * @property totalFrames * @type Number * @default 0 -* @readonly +* @readOnly */ Object.defineProperty( PIXI.MovieClip.prototype, 'totalFrames', { get: function() { diff --git a/src/pixi/display/Stage.js b/src/pixi/display/Stage.js index 1c73a9ad1..900f22f57 100644 --- a/src/pixi/display/Stage.js +++ b/src/pixi/display/Stage.js @@ -27,7 +27,7 @@ PIXI.Stage = function(backgroundColor) * * @property worldTransform * @type Matrix - * @readonly + * @readOnly * @private */ this.worldTransform = new PIXI.Matrix(); diff --git a/src/pixi/loaders/BitmapFontLoader.js b/src/pixi/loaders/BitmapFontLoader.js index 3d84afca9..3eb54c497 100644 --- a/src/pixi/loaders/BitmapFontLoader.js +++ b/src/pixi/loaders/BitmapFontLoader.js @@ -37,7 +37,7 @@ PIXI.BitmapFontLoader = function(url, crossorigin) * * @property baseUrl * @type String - * @readonly + * @readOnly */ this.baseUrl = url.replace(/[^\/]*$/, ''); diff --git a/src/pixi/loaders/ImageLoader.js b/src/pixi/loaders/ImageLoader.js index dd1f94e05..1567f297c 100644 --- a/src/pixi/loaders/ImageLoader.js +++ b/src/pixi/loaders/ImageLoader.js @@ -29,7 +29,7 @@ PIXI.ImageLoader = function(url, crossorigin) * * @property frames * @type Array - * @readonly + * @readOnly */ this.frames = []; }; diff --git a/src/pixi/loaders/JsonLoader.js b/src/pixi/loaders/JsonLoader.js index 1dbac9259..8217c31d9 100644 --- a/src/pixi/loaders/JsonLoader.js +++ b/src/pixi/loaders/JsonLoader.js @@ -35,7 +35,7 @@ PIXI.JsonLoader = function (url, crossorigin) { * * @property baseUrl * @type String - * @readonly + * @readOnly */ this.baseUrl = url.replace(/[^\/]*$/, ''); @@ -44,7 +44,7 @@ PIXI.JsonLoader = function (url, crossorigin) { * * @property loaded * @type Boolean - * @readonly + * @readOnly */ this.loaded = false; diff --git a/src/pixi/loaders/SpineLoader.js b/src/pixi/loaders/SpineLoader.js index b4a736d92..c736c50b0 100644 --- a/src/pixi/loaders/SpineLoader.js +++ b/src/pixi/loaders/SpineLoader.js @@ -44,7 +44,7 @@ PIXI.SpineLoader = function(url, crossorigin) * * @property loaded * @type Boolean - * @readonly + * @readOnly */ this.loaded = false; }; diff --git a/src/pixi/loaders/SpriteSheetLoader.js b/src/pixi/loaders/SpriteSheetLoader.js index 3c5f28353..4d504300f 100644 --- a/src/pixi/loaders/SpriteSheetLoader.js +++ b/src/pixi/loaders/SpriteSheetLoader.js @@ -40,7 +40,7 @@ PIXI.SpriteSheetLoader = function (url, crossorigin) { * * @property baseUrl * @type String - * @readonly + * @readOnly */ this.baseUrl = url.replace(/[^\/]*$/, ''); diff --git a/src/pixi/text/BitmapText.js b/src/pixi/text/BitmapText.js index 15f0e481c..a1d20af26 100644 --- a/src/pixi/text/BitmapText.js +++ b/src/pixi/text/BitmapText.js @@ -26,7 +26,7 @@ PIXI.BitmapText = function(text, style) * * @property textWidth * @type Number - * @readonly + * @readOnly */ this.textWidth = 0; @@ -36,7 +36,7 @@ PIXI.BitmapText = function(text, style) * * @property textHeight * @type Number - * @readonly + * @readOnly */ this.textHeight = 0; diff --git a/src/pixi/textures/BaseTexture.js b/src/pixi/textures/BaseTexture.js index 27d5044c6..6de721572 100644 --- a/src/pixi/textures/BaseTexture.js +++ b/src/pixi/textures/BaseTexture.js @@ -30,7 +30,7 @@ PIXI.BaseTexture = function(source, scaleMode) * * @property width * @type Number - * @readonly + * @readOnly */ this.width = 100; @@ -39,7 +39,7 @@ PIXI.BaseTexture = function(source, scaleMode) * * @property height * @type Number - * @readonly + * @readOnly */ this.height = 100; @@ -57,7 +57,7 @@ PIXI.BaseTexture = function(source, scaleMode) * * @property hasLoaded * @type Boolean - * @readonly + * @readOnly */ this.hasLoaded = false; diff --git a/src/pixi/utils/EventTarget.js b/src/pixi/utils/EventTarget.js index d89ef6c6a..35aa31b45 100644 --- a/src/pixi/utils/EventTarget.js +++ b/src/pixi/utils/EventTarget.js @@ -210,7 +210,7 @@ PIXI.Event = function(target, name, data) { * @property stopped * @type Boolean * @private - * @readonly + * @readOnly */ this.stopped = false; @@ -221,7 +221,7 @@ PIXI.Event = function(target, name, data) { * @property stoppedImmediate * @type Boolean * @private - * @readonly + * @readOnly */ this.stoppedImmediate = false; @@ -230,7 +230,7 @@ PIXI.Event = function(target, name, data) { * * @property target * @type Object - * @readonly + * @readOnly */ this.target = target; @@ -239,7 +239,7 @@ PIXI.Event = function(target, name, data) { * * @property type * @type String - * @readonly + * @readOnly */ this.type = name; @@ -248,7 +248,7 @@ PIXI.Event = function(target, name, data) { * * @property data * @type Object - * @readonly + * @readOnly */ this.data = data; @@ -260,7 +260,7 @@ PIXI.Event = function(target, name, data) { * * @property timeStamp * @type Number - * @readonly + * @readOnly */ this.timeStamp = Date.now(); };