1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-31 21:03:33 +02:00

Fix all the things. And break most of the other things, in all likelihood.

This commit is contained in:
Kris Maglione
2015-02-21 21:59:37 -08:00
parent 54f38d90d9
commit 7ee579200f
48 changed files with 1865 additions and 1572 deletions

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2014 Kris Maglione <maglione.k at Gmail>
// Copyright (c) 2015 Kris Maglione <maglione.k at Gmail>
//
// This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file.
@@ -25,10 +25,10 @@ function withCallbacks(fn) {
}
var Promises = Module("Promises", {
_cancel: WeakMap(),
_cancel: new WeakMap,
/**
* Allows promises to be canceled..
* Allows promises to be canceled.
*
* @param {Promise} promise The promise to cancel.
* @param {*} arg Argument to be passed to the cancellation