Skip to content

Commit 10c7c10

Browse files
author
Lanny McNie
committed
Added documentation to show "initialize" as REMOVED
1 parent 54565b6 commit 10c7c10

File tree

4 files changed

+44
-0
lines changed

4 files changed

+44
-0
lines changed

src/createjs/events/Event.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,19 @@ this.createjs = this.createjs||{};
170170
this.removed = false;
171171
}
172172
var p = Event.prototype;
173+
174+
/**
175+
* <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
176+
* See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
177+
* for details.
178+
*
179+
* There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
180+
*
181+
* @method initialize
182+
* @protected
183+
* @deprecated
184+
*/
185+
// p.initialize = function() {}; // searchable for devs wondering where it is.
173186

174187

175188
// public methods:

src/createjs/events/EventDispatcher.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,19 @@ this.createjs = this.createjs||{};
107107
}
108108
var p = EventDispatcher.prototype;
109109

110+
/**
111+
* <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
112+
* See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
113+
* for details.
114+
*
115+
* There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
116+
*
117+
* @method initialize
118+
* @protected
119+
* @deprecated
120+
*/
121+
// p.initialize = function() {}; // searchable for devs wondering where it is.
122+
110123

111124
// static public methods:
112125
/**

src/preloadjs/LoadQueue.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,20 @@ this.createjs = this.createjs || {};
274274
var p = createjs.extend(LoadQueue, createjs.AbstractLoader);
275275
var s = LoadQueue;
276276

277+
/**
278+
* <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
279+
* See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
280+
* for details.
281+
*
282+
* There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
283+
*
284+
* @method initialize
285+
* @protected
286+
* @deprecated
287+
*/
288+
// p.initialize = function() {}; // searchable for devs wondering where it is.
289+
290+
277291
/**
278292
* An internal initialization method, which is used for initial set up, but also to reset the LoadQueue.
279293
* @method init

src/preloadjs/loaders/AbstractLoader.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ this.createjs = this.createjs || {};
182182
var p = createjs.extend(AbstractLoader, createjs.EventDispatcher);
183183
var s = AbstractLoader;
184184

185+
// TODO: deprecated
186+
// p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
187+
188+
185189
/**
186190
* Defines a POST request, use for a method value when loading data.
187191
* @property POST

0 commit comments

Comments
 (0)