mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Improved Javascript coding style
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
var App = App || {};
|
||||
|
||||
App.Promise = (function(jQuery) {
|
||||
App.Promise = function(jQuery) {
|
||||
|
||||
function make(callback)
|
||||
{
|
||||
@ -23,6 +23,6 @@ App.Promise = (function(jQuery) {
|
||||
waitAll: waitAll,
|
||||
};
|
||||
|
||||
});
|
||||
};
|
||||
|
||||
App.DI.registerSingleton('promise', App.Promise);
|
||||
|
Reference in New Issue
Block a user