Skip to content

Commit efe7db9

Browse files
author
Lanny McNie
committed
Added documentation to show "initialize" as REMOVED
1 parent 65adcea commit efe7db9

15 files changed

+91
-1
lines changed

src/createjs/events/Event.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,20 @@ this.createjs = this.createjs||{};
170170
this.removed = false;
171171
}
172172
var p = Event.prototype;
173-
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.
186+
174187

175188
// public methods:
176189
/**

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/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

src/soundjs/AbstractPlugin.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,19 @@ this.createjs = this.createjs || {};
9696
};
9797
var p = AbstractPlugin.prototype;
9898

99+
/**
100+
* <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
101+
* See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
102+
* for details.
103+
*
104+
* There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
105+
*
106+
* @method initialize
107+
* @protected
108+
* @deprecated
109+
*/
110+
// p.initialize = function() {}; // searchable for devs wondering where it is.
111+
99112

100113
// Static Properties:
101114
// NOTE THESE PROPERTIES NEED TO BE ADDED TO EACH PLUGIN

src/soundjs/AbstractSoundInstance.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,9 @@ this.createjs = this.createjs || {};
332332

333333
var p = createjs.extend(AbstractSoundInstance, createjs.EventDispatcher);
334334

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

336339
// Public Methods:
337340
/**

src/soundjs/Sound.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,6 +1559,20 @@ this.createjs = this.createjs || {};
15591559
var p = SoundChannel.prototype;
15601560
p.constructor = SoundChannel;
15611561

1562+
/**
1563+
* <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
1564+
* See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
1565+
* for details.
1566+
*
1567+
* There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
1568+
*
1569+
* @method initialize
1570+
* @protected
1571+
* @deprecated
1572+
*/
1573+
// p.initialize = function() {}; // searchable for devs wondering where it is.
1574+
1575+
15621576
/**
15631577
* The source of the channel.
15641578
* #property src

src/soundjs/flashaudio/FlashAudioLoader.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ this.createjs = this.createjs || {};
6363
}
6464
var p = createjs.extend(Loader, createjs.AbstractLoader);
6565

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

6770
// Static Properties
6871
var s = Loader;

src/soundjs/flashaudio/FlashAudioPlugin.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ this.createjs = this.createjs || {};
193193
var p = createjs.extend(FlashAudioPlugin, createjs.AbstractPlugin);
194194
var s = FlashAudioPlugin;
195195

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

197200
// Static properties
198201
/**

src/soundjs/flashaudio/FlashAudioSoundInstance.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ this.createjs = this.createjs || {};
6868
};
6969
var p = createjs.extend(FlashAudioSoundInstance, createjs.AbstractSoundInstance);
7070

71+
// TODO: deprecated
72+
// p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
73+
74+
7175
// Static Propeties
7276
var s = FlashAudioSoundInstance;
7377
/**

src/soundjs/htmlaudio/HTMLAudioPlugin.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ this.createjs = this.createjs || {};
117117
var p = createjs.extend(HTMLAudioPlugin, createjs.AbstractPlugin);
118118
var s = HTMLAudioPlugin;
119119

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

121124
// Static Properties
122125
/**

0 commit comments

Comments
 (0)