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 65adcea commit efe7db9
Show file tree
Hide file tree
Showing 15 changed files with 91 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/createjs/events/Event.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,20 @@ 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
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
13 changes: 13 additions & 0 deletions src/soundjs/AbstractPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,19 @@ this.createjs = this.createjs || {};
};
var p = AbstractPlugin.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 Properties:
// NOTE THESE PROPERTIES NEED TO BE ADDED TO EACH PLUGIN
Expand Down
3 changes: 3 additions & 0 deletions src/soundjs/AbstractSoundInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,9 @@ this.createjs = this.createjs || {};

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

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


// Public Methods:
/**
Expand Down
14 changes: 14 additions & 0 deletions src/soundjs/Sound.js
Original file line number Diff line number Diff line change
Expand Up @@ -1559,6 +1559,20 @@ this.createjs = this.createjs || {};
var p = SoundChannel.prototype;
p.constructor = SoundChannel;

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


/**
* The source of the channel.
* #property src
Expand Down
3 changes: 3 additions & 0 deletions src/soundjs/flashaudio/FlashAudioLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ this.createjs = this.createjs || {};
}
var p = createjs.extend(Loader, createjs.AbstractLoader);

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


// Static Properties
var s = Loader;
Expand Down
3 changes: 3 additions & 0 deletions src/soundjs/flashaudio/FlashAudioPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ this.createjs = this.createjs || {};
var p = createjs.extend(FlashAudioPlugin, createjs.AbstractPlugin);
var s = FlashAudioPlugin;

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


// Static properties
/**
Expand Down
4 changes: 4 additions & 0 deletions src/soundjs/flashaudio/FlashAudioSoundInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ this.createjs = this.createjs || {};
};
var p = createjs.extend(FlashAudioSoundInstance, createjs.AbstractSoundInstance);

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


// Static Propeties
var s = FlashAudioSoundInstance;
/**
Expand Down
3 changes: 3 additions & 0 deletions src/soundjs/htmlaudio/HTMLAudioPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ this.createjs = this.createjs || {};
var p = createjs.extend(HTMLAudioPlugin, createjs.AbstractPlugin);
var s = HTMLAudioPlugin;

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


// Static Properties
/**
Expand Down
3 changes: 3 additions & 0 deletions src/soundjs/htmlaudio/HTMLAudioSoundInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ this.createjs = this.createjs || {};
}
var p = createjs.extend(HTMLAudioSoundInstance, createjs.AbstractSoundInstance);

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


// Public Methods
/**
Expand Down
3 changes: 3 additions & 0 deletions src/soundjs/htmlaudio/HTMLAudioTagPool.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ this.createjs = this.createjs || {};
p.constructor = TagPool;
var s = TagPool;

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


// Static Properties
/**
Expand Down
4 changes: 4 additions & 0 deletions src/soundjs/webaudio/WebAudioLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ this.createjs = this.createjs || {};
};
var p = createjs.extend(Loader, createjs.AbstractLoader);

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


/**
* web audio context required for decoding audio
* @property context
Expand Down
3 changes: 3 additions & 0 deletions src/soundjs/webaudio/WebAudioPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ this.createjs = this.createjs || {};
}
var p = createjs.extend(WebAudioPlugin, createjs.AbstractPlugin);

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


// Static Properties
var s = WebAudioPlugin;
Expand Down
4 changes: 4 additions & 0 deletions src/soundjs/webaudio/WebAudioSoundInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ this.createjs = this.createjs || {};
var p = createjs.extend(WebAudioSoundInstance, createjs.AbstractSoundInstance);
var s = WebAudioSoundInstance;

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


/**
* Note this is only intended for use by advanced users.
* <br />Audio context used to create nodes. This is and needs to be the same context used by {{#crossLink "WebAudioPlugin"}}{{/crossLink}}.
Expand Down

0 comments on commit efe7db9

Please sign in to comment.