Skip to content

Commit 497f9e9

Browse files
author
Lanny McNie
committed
Added documentation to show "initialize" as REMOVED
1 parent 16707e4 commit 497f9e9

27 files changed

+224
-6
lines changed

src/createjs/events/Event.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,19 @@ 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.
174186

175187
// public methods:
176188
/**

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/easeljs/display/BitmapText.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,18 @@ this.createjs = this.createjs || {};
124124
}
125125
var p = createjs.extend(BitmapText, createjs.Container);
126126

127+
/**
128+
* <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
129+
* See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
130+
* for details.
131+
*
132+
* There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
133+
*
134+
* @method initialize
135+
* @protected
136+
* @deprecated
137+
*/
138+
// p.initialize = function() {}; // searchable for devs wondering where it is.
127139

128140
// static properties:
129141
/**

src/easeljs/display/DOMElement.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ this.createjs = this.createjs||{};
9999
this._oldProps = null;
100100
}
101101
var p = createjs.extend(DOMElement, createjs.DisplayObject);
102-
102+
103+
// TODO: deprecated
104+
// p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
105+
103106

104107
// public methods:
105108
/**

src/easeljs/display/DisplayObject.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,9 @@ this.createjs = this.createjs||{};
474474
this._bounds = null;
475475
}
476476
var p = createjs.extend(DisplayObject, createjs.EventDispatcher);
477-
477+
478+
// TODO: deprecated
479+
// p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
478480

479481
// static properties:
480482
/**
@@ -1030,7 +1032,7 @@ this.createjs = this.createjs||{};
10301032
* @method hitTest
10311033
* @param {Number} x The x position to check in the display object's local coordinates.
10321034
* @param {Number} y The y position to check in the display object's local coordinates.
1033-
* @return {Boolean} A Boolean indicting whether a visible portion of the DisplayObject intersect the specified
1035+
* @return {Boolean} A Boolean indicating whether a visible portion of the DisplayObject intersect the specified
10341036
* local Point.
10351037
*/
10361038
p.hitTest = function(x, y) {

src/easeljs/display/Graphics.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,19 @@ this.createjs = this.createjs||{};
225225
var p = Graphics.prototype;
226226
var G = Graphics; // shortcut
227227

228+
/**
229+
* <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
230+
* See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
231+
* for details.
232+
*
233+
* There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
234+
*
235+
* @method initialize
236+
* @protected
237+
* @deprecated
238+
*/
239+
// p.initialize = function() {}; // searchable for devs wondering where it is.
240+
228241

229242
// static public methods:
230243
/**

src/easeljs/display/Shadow.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,19 @@ this.createjs = this.createjs||{};
8787
}
8888
var p = Shadow.prototype;
8989

90+
/**
91+
* <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
92+
* See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
93+
* for details.
94+
*
95+
* There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
96+
*
97+
* @method initialize
98+
* @protected
99+
* @deprecated
100+
*/
101+
// p.initialize = function() {}; // searchable for devs wondering where it is.
102+
90103

91104
// static public properties:
92105
/**

src/easeljs/display/Shape.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ this.createjs = this.createjs||{};
7575
}
7676
var p = createjs.extend(Shape, createjs.DisplayObject);
7777

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

7982
// public methods:
8083
/**

src/easeljs/display/Sprite.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ this.createjs = this.createjs||{};
167167
}
168168
var p = createjs.extend(Sprite, createjs.DisplayObject);
169169

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

171174
// events:
172175
/**

src/easeljs/display/SpriteContainer.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,18 @@ this.createjs = this.createjs||{};
7676
}
7777
var p = createjs.extend(SpriteContainer, createjs.Container);
7878

79+
/**
80+
* <strong>REMOVED</strong>. Removed in favor of using `MySuperClass_constructor`.
81+
* See {{#crossLink "Utility Methods/extend"}}{{/crossLink}} and {{#crossLink "Utility Methods/promote"}}{{/crossLink}}
82+
* for details.
83+
*
84+
* There is an inheritance tutorial distributed with EaselJS in /tutorials/Inheritance.
85+
*
86+
* @method initialize
87+
* @protected
88+
* @deprecated
89+
*/
90+
// p.initialize = function() {}; // searchable for devs wondering where it is.
7991

8092

8193
// public methods:

0 commit comments

Comments
 (0)