Skip to content

Commit

Permalink
Added documentation to show "initialize" as REMOVED
Browse files Browse the repository at this point in the history
  • Loading branch information
Lanny McNie committed Dec 18, 2014
1 parent 54565b6 commit 10c7c10
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/createjs/events/Event.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,19 @@ this.createjs = this.createjs||{};
this.removed = false;
}
var p = Event.prototype;

/**
* <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
* See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
* for details.
*
* There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
*
* @method initialize
* @protected
* @deprecated
*/
// p.initialize = function() {}; // searchable for devs wondering where it is.


// public methods:
Expand Down
13 changes: 13 additions & 0 deletions src/createjs/events/EventDispatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,19 @@ this.createjs = this.createjs||{};
}
var p = EventDispatcher.prototype;

/**
* <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
* See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
* for details.
*
* There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
*
* @method initialize
* @protected
* @deprecated
*/
// p.initialize = function() {}; // searchable for devs wondering where it is.


// static public methods:
/**
Expand Down
14 changes: 14 additions & 0 deletions src/preloadjs/LoadQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,20 @@ this.createjs = this.createjs || {};
var p = createjs.extend(LoadQueue, createjs.AbstractLoader);
var s = LoadQueue;

/**
* <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
* See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
* for details.
*
* There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
*
* @method initialize
* @protected
* @deprecated
*/
// p.initialize = function() {}; // searchable for devs wondering where it is.


/**
* An internal initialization method, which is used for initial set up, but also to reset the LoadQueue.
* @method init
Expand Down
4 changes: 4 additions & 0 deletions src/preloadjs/loaders/AbstractLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ this.createjs = this.createjs || {};
var p = createjs.extend(AbstractLoader, createjs.EventDispatcher);
var s = AbstractLoader;

// TODO: deprecated
// p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.


/**
* Defines a POST request, use for a method value when loading data.
* @property POST
Expand Down

0 comments on commit 10c7c10

Please sign in to comment.