mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
more shim cleanup
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
var $ = require('jquery');
|
||||
|
||||
module.exports = (function(){
|
||||
module.exports = function(){
|
||||
'use strict';
|
||||
|
||||
var $ = this;
|
||||
|
||||
$.fn.spinForPromise = function(promise){
|
||||
var self = this;
|
||||
if(!promise || promise.state() !== 'pending') {
|
||||
@@ -43,4 +44,4 @@ module.exports = (function(){
|
||||
}
|
||||
return this;
|
||||
};
|
||||
}).call(this);
|
||||
};
|
||||
Reference in New Issue
Block a user