Skip to content

Commit e0e7712

Browse files
author
David Gillen
committed
Merge branch 'master' of github.com:CreateJS/EaselJS
2 parents 4382d2e + b37a334 commit e0e7712

File tree

12 files changed

+80
-9
lines changed

12 files changed

+80
-9
lines changed

lib/easeljs-NEXT.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10367,7 +10367,7 @@ this.createjs = this.createjs||{};
1036710367
-1, 1, 0, 1
1036810368
]);
1036910369

10370-
if (this._bufferTextureOutput !== null) {
10370+
if (this._bufferTextureOutput !== this && this._bufferTextureOutput !== null) {
1037110371
this.resizeTexture(this._bufferTextureOutput, this._viewportWidth, this._viewportHeight);
1037210372
}
1037310373
if (this._bufferTextureConcat !== null) {
@@ -17463,6 +17463,6 @@ this.createjs = this.createjs || {};
1746317463
* @type String
1746417464
* @static
1746517465
**/
17466-
s.buildDate = /*=date*/"Fri, 06 Apr 2018 15:06:22 GMT"; // injected by build process
17466+
s.buildDate = /*=date*/"Mon, 09 Apr 2018 20:50:19 GMT"; // injected by build process
1746717467

1746817468
})();

lib/easeljs-NEXT.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/createjs/events/Event.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ this.createjs = this.createjs||{};
5353
* rely on an event object's state outside of the call stack it was received in.
5454
* @class Event
5555
* @param {String} type The event type.
56-
* @param {Boolean} bubbles Indicates whether the event will bubble through the display list.
57-
* @param {Boolean} cancelable Indicates whether the default behaviour of this event can be cancelled.
56+
* @param {Boolean} [bubbles=false] Indicates whether the event will bubble through the display list.
57+
* @param {Boolean} [cancelable=false] Indicates whether the default behaviour of this event can be cancelled.
5858
* @constructor
5959
**/
6060
function Event(type, bubbles, cancelable) {

src/createjs/utils/Ticker.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,11 @@ this.createjs = this.createjs||{};
316316
if (!Ticker._inited) { return; }
317317
Ticker._setupTick();
318318
};
319+
320+
/**
321+
* @method setInterval
322+
* @deprecated Use the {{#crossLink "Ticker/interval:property"}}{{/crossLink}} property instead.
323+
*/
319324
// Ticker.setInterval is @deprecated. Remove for 1.1+
320325
Ticker.setInterval = createjs.deprecate(Ticker._setInterval, "Ticker.setInterval");
321326

@@ -329,6 +334,11 @@ this.createjs = this.createjs||{};
329334
Ticker._getInterval = function() {
330335
return Ticker._interval;
331336
};
337+
338+
/**
339+
* @method getInterval
340+
* @deprecated Use the {{#crossLink "Ticker/interval:property"}}{{/crossLink}} property instead.
341+
*/
332342
// Ticker.getInterval is @deprecated. Remove for 1.1+
333343
Ticker.getInterval = createjs.deprecate(Ticker._getInterval, "Ticker.getInterval");
334344

@@ -342,6 +352,11 @@ this.createjs = this.createjs||{};
342352
Ticker._setFPS = function(value) {
343353
Ticker._setInterval(1000/value);
344354
};
355+
356+
/**
357+
* @method setFPS
358+
* @deprecated Use the {{#crossLink "Ticker/framerate:property"}}{{/crossLink}} property instead.
359+
*/
345360
// Ticker.setFPS is @deprecated. Remove for 1.1+
346361
Ticker.setFPS = createjs.deprecate(Ticker._setFPS, "Ticker.setFPS");
347362

@@ -355,6 +370,11 @@ this.createjs = this.createjs||{};
355370
Ticker._getFPS = function() {
356371
return 1000/Ticker._interval;
357372
};
373+
374+
/**
375+
* @method getFPS
376+
* @deprecated Use the {{#crossLink "Ticker/framerate:property"}}{{/crossLink}} property instead.
377+
*/
358378
// Ticker.getFPS is @deprecated. Remove for 1.1+
359379
Ticker.getFPS = createjs.deprecate(Ticker._getFPS, "Ticker.getFPS");
360380

src/easeljs/display/Container.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ this.createjs = this.createjs||{};
103103
p._getNumChildren = function() {
104104
return this.children.length;
105105
};
106+
107+
/**
108+
* @method getNumChildren
109+
* @deprecated Use the {{#crossLink "Container/numChildren:property"}}{{/crossLink}} property instead.
110+
*/
106111
// Container.getNumChildren is @deprecated. Remove for 1.1+
107112
p.getNumChildren = createjs.deprecate(p._getNumChildren, "Container.getNumChildren");
108113

src/easeljs/display/DOMElement.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ this.createjs = this.createjs||{};
3939

4040
// constructor:
4141
/**
42-
* <b>This class is still experimental, and more advanced use is likely to be buggy. Please report bugs.</b>
43-
*
4442
* A DOMElement allows you to associate a HTMLElement with the display list. It will be transformed
4543
* within the DOM as though it is child of the {{#crossLink "Container"}}{{/crossLink}} it is added to. However, it is
4644
* not rendered to canvas, and as such will retain whatever z-index it has relative to the canvas (ie. it will be

src/easeljs/display/DisplayObject.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,11 @@ this.createjs = this.createjs||{};
691691
if (o instanceof _Stage) { return o; }
692692
return null;
693693
};
694+
695+
/**
696+
* @method getStage
697+
* @deprecated Use the {{#crossLink "DisplayObject/stage:property"}}{{/crossLink}} property instead.
698+
*/
694699
// DisplayObject.getStage is @deprecated. Remove for 1.1+
695700
p.getStage = createjs.deprecate(p._getStage, "DisplayObject.getStage");
696701

src/easeljs/display/Graphics.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,11 @@ this.createjs = this.createjs||{};
386386
this._updateInstructions();
387387
return this._instructions;
388388
};
389+
390+
/**
391+
* @method getInstructions
392+
* @deprecated Use the {{#crossLink "Graphics/instructions:property"}}{{/crossLink}} property instead.
393+
*/
389394
// Graphics.getInstructions is @deprecated. Remove for 1.1+
390395
p.getInstructions = createjs.deprecate(p._getInstructions, "Graphics.getInstructions");
391396

src/easeljs/display/MovieClip.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,11 @@ this.createjs = this.createjs||{};
337337
p._getLabels = function() {
338338
return this.timeline.getLabels();
339339
};
340+
341+
/**
342+
* @method getLabels
343+
* @deprecated Use the {{#crossLink "MovieClip/labels:property"}}{{/crossLink}} property instead.
344+
*/
340345
// MovieClip.getLabels is @deprecated. Remove for 1.1+
341346
p.getLabels = createjs.deprecate(p._getLabels, "MovieClip.getLabels");
342347

@@ -349,6 +354,11 @@ this.createjs = this.createjs||{};
349354
p._getCurrentLabel = function() {
350355
return this.timeline.currentLabel;
351356
};
357+
358+
/**
359+
* @method getCurrentLabel
360+
* @deprecated Use the {{#crossLink "MovieClip/currentLabel:property"}}{{/crossLink}} property instead.
361+
*/
352362
// MovieClip.getCurrentLabel is @deprecated. Remove for 1.1+
353363
p.getCurrentLabel = createjs.deprecate(p._getCurrentLabel, "MovieClip.getCurrentLabel");
354364

@@ -361,6 +371,11 @@ this.createjs = this.createjs||{};
361371
p._getDuration = function() {
362372
return this.timeline.duration;
363373
};
374+
375+
/**
376+
* @method getDuration
377+
* @deprecated Use the {{#crossLink "MovieClip/duration:property"}}{{/crossLink}} property instead.
378+
*/
364379
// MovieClip.getDuration is @deprecated. Remove for 1.1+
365380
p.getDuration = createjs.deprecate(p._getDuration, "MovieClip.getDuration");
366381

src/easeljs/display/SpriteSheet.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,11 @@ this.createjs = this.createjs||{};
369369
p._getAnimations = function() {
370370
return this._animations.slice();
371371
};
372+
373+
/**
374+
* @method getAnimations
375+
* @deprecated Use the {{#crossLink "SpriteSheet/animations:property"}}{{/crossLink}} property instead.
376+
*/
372377
// SpriteSheet.getAnimations is @deprecated. Remove for 1.1+
373378
p.getAnimations = createjs.deprecate(p._getAnimations, "SpriteSheet.getAnimations");
374379

0 commit comments

Comments
 (0)