diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-06-19 11:43:12 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-19 11:43:12 +0200 |
commit | d84b169e75bbf0e4f1888e8d5287323bb3ed61da (patch) | |
tree | 90c04201734dea68283f0a6bdd5ff03153f641ee /application/palemoon/base/content/newtab/newTab.js | |
parent | e7b69b29df1593be14ce7c6efdad2f2c973a1c01 (diff) | |
download | UXP-d84b169e75bbf0e4f1888e8d5287323bb3ed61da.tar UXP-d84b169e75bbf0e4f1888e8d5287323bb3ed61da.tar.gz UXP-d84b169e75bbf0e4f1888e8d5287323bb3ed61da.tar.lz UXP-d84b169e75bbf0e4f1888e8d5287323bb3ed61da.tar.xz UXP-d84b169e75bbf0e4f1888e8d5287323bb3ed61da.zip |
Stop using old-style promises module in about:newtab.
- Rewrite to arrow functions.
- Stop using .defer and .promised
Tag #517.
Diffstat (limited to 'application/palemoon/base/content/newtab/newTab.js')
-rw-r--r-- | application/palemoon/base/content/newtab/newTab.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/application/palemoon/base/content/newtab/newTab.js b/application/palemoon/base/content/newtab/newTab.js index bba73fd7a..bea545ab5 100644 --- a/application/palemoon/base/content/newtab/newTab.js +++ b/application/palemoon/base/content/newtab/newTab.js @@ -11,7 +11,6 @@ Cu.import("resource://gre/modules/XPCOMUtils.jsm"); Cu.import("resource://gre/modules/Services.jsm"); Cu.import("resource://gre/modules/PageThumbs.jsm"); Cu.import("resource://gre/modules/NewTabUtils.jsm"); -Cu.import("resource:///modules/promise.js"); XPCOMUtils.defineLazyModuleGetter(this, "Rect", "resource://gre/modules/Geometry.jsm"); |