1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 21:45:45 +01:00

Add missing semicolons.

This commit is contained in:
Doug Kearns
2015-05-25 23:54:56 +10:00
parent 72a4d80ad1
commit 5ab1befbf7
35 changed files with 82 additions and 84 deletions

View File

@@ -21,7 +21,7 @@ function withCallbacks(fn) {
function reject(arg) { deferred.reject(arg); }
fn.apply(this, [[resolve, reject, deferred]].concat(args));
return deferred.promise;
}
};
}
function CancelablePromise(executor, oncancel) {
@@ -111,7 +111,7 @@ var Promises = Module("Promises", {
task: function task(fn) {
return function task_(...args) {
return Task.spawn(fn.bind.apply(fn, [this].concat(args)));
}
};
},
/**
@@ -155,7 +155,7 @@ var Promises = Module("Promises", {
* @param {function} fn The function to wrap.
* @returns {Promise}
*/
withCallbacks: withCallbacks,
withCallbacks: withCallbacks
});
endModule();