Remove using jstimer from animationManager.js.
This commit is contained in:
parent
b7ee2cf847
commit
4183ced2d8
@ -25,8 +25,6 @@
|
|||||||
http://github.com/piroor/fxaddonlibs/blob/master/animationManager.js
|
http://github.com/piroor/fxaddonlibs/blob/master/animationManager.js
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* To work as a JS Code Module (*require jstimer.jsm)
|
|
||||||
http://github.com/piroor/fxaddonlibs/blob/master/jstimer.jsm */
|
|
||||||
if (typeof window == 'undefined' ||
|
if (typeof window == 'undefined' ||
|
||||||
(window && typeof window.constructor == 'function')) {
|
(window && typeof window.constructor == 'function')) {
|
||||||
this.EXPORTED_SYMBOLS = ['animationManager'];
|
this.EXPORTED_SYMBOLS = ['animationManager'];
|
||||||
@ -41,8 +39,6 @@ if (typeof window == 'undefined' ||
|
|||||||
catch(e) {
|
catch(e) {
|
||||||
window = {};
|
window = {};
|
||||||
}
|
}
|
||||||
if (!('setInterval' in window))
|
|
||||||
Components.utils.import('resource://treestyletab-modules/lib/jstimer.jsm', window);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user