Merge pull request #594 from VladimirTechMan/master

Removing now-unused method Stage#_onContent
This commit is contained in:
Anton Lavrenov 2019-03-02 10:46:42 -05:00 committed by GitHub
commit a2094f1d85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -785,17 +785,6 @@ export class Stage extends Container {
this._resizeDOM(); this._resizeDOM();
} }
_onContent(typesStr, handler) {
var types = typesStr.split(SPACE),
len = types.length,
n,
baseEvent;
for (n = 0; n < len; n++) {
baseEvent = types[n];
this.content.addEventListener(baseEvent, handler, false);
}
}
// currently cache function is now working for stage, because stage has no its own canvas element // currently cache function is now working for stage, because stage has no its own canvas element
cache() { cache() {
Util.warn( Util.warn(