From 35315898600f1b05a28f5e16ee4155b4985d2089 Mon Sep 17 00:00:00 2001 From: VladimirTechMan Date: Sat, 2 Mar 2019 15:56:39 +0300 Subject: [PATCH] Removing unused method Stage#_onContent ...Unless there are some specific plans to return to using it, in the future. --- src/Stage.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Stage.ts b/src/Stage.ts index d3024dc3..1b50077f 100644 --- a/src/Stage.ts +++ b/src/Stage.ts @@ -785,17 +785,6 @@ export class Stage extends Container { 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 cache() { Util.warn(