Util shouldn't modify window object

This commits prevents Util from modifying the window object.

- `window.requestAnimFrame` was removed (no polyfill is needed anymore)
- the potential redefinition of `console.log` and friends was removed
  (all supported browsers have `console.xyz` defined anyway)
This commit is contained in:
Solly Ross
2016-09-03 13:58:32 -04:00
parent 9eca6889be
commit e4fef7be2d
4 changed files with 30 additions and 53 deletions
+1 -1
View File
@@ -778,7 +778,7 @@
}
if (this._renderQ.length > 0) {
requestAnimFrame(this._scan_renderQ.bind(this));
requestAnimationFrame(this._scan_renderQ.bind(this));
}
},
};