diff options
Diffstat (limited to 'src/content_scripts')
-rw-r--r-- | src/content_scripts/notify.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content_scripts/notify.js b/src/content_scripts/notify.js index 74447386b..43ded3d95 100644 --- a/src/content_scripts/notify.js +++ b/src/content_scripts/notify.js @@ -23,13 +23,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator.throw(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments)).next()); }); }; // Make sure we don't pollute the namespace too much. var TalerNotify; +// Make sure we don't pollute the namespace too much. (function (TalerNotify) { const PROTOCOL_VERSION = 1; let logVerbose = false; |