Method DisplayObject.getCacheDataURL() breaks
See original GitHub issueVersion used: 1.0.0:
Calling DisplayObject.getCacheDataURL()
method breaks with console error this.bitmapCache.getDataURL() method undefined
.
Debugging gives this piece of breaking code in easeljs.js: 6700
, in DisplayObject
class definition:
p.getCacheDataURL = function() {
return this.bitmapCache?this.bitmapCache.getDataURL():null;
};
Changing the code by this one works for me:
p.getCacheDataURL = function() {
return this.bitmapCache?this.bitmapCache.getCacheDataURL():null;
};
BitmapCache
class does not implement any getDataURL()
method only getCacheDataURL()
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
EaselJS v1.0.0 API Documentation : Text
Text Class. Extends DisplayObject. Defined in: Text:41. Module: EaselJS. Display one or more lines of dynamic text ...
Read more >@createjs/easeljs | Yarn - Package Manager
CRITICAL (may break existing content): ... Build process converted from Grunt to Gulp; Build process and shared files (Event, EventDispatcher, Ticker) moved ...
Read more >createjs/easeljs
Event} this, chainable shortcut method for setting a number of properties on the instance.\n\t *\n\t * @param {Object} props A generic object containing ......
Read more >Smash them walls!
... --_>-1;)if(p=x[_],Math.abs(T[p]-b[p])>.05){y=!1;break}y&&(t=t.concat(),d&&t.unshift(d) ... getCacheDataURL=function(){return this. ... DisplayObject);e.
Read more >Untitled
widgetName + this.uuid, this.bindings = t(), this.hoverable = t(), this.focusable = t(), this. ... UP: o = this.headers[(n - 1 + s) %...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You absolute legend! Just saved my day 😃
@danbraun The fix is in EaselJS NEXT build that you can find in the libs/ folder in GitHub. It has not yet been published to the CDN. We are planning a dot-release in the next month or so.
Cheers,