summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/newtab/newTab.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-19 11:43:12 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-19 11:43:12 +0200
commitd84b169e75bbf0e4f1888e8d5287323bb3ed61da (patch)
tree90c04201734dea68283f0a6bdd5ff03153f641ee /application/palemoon/base/content/newtab/newTab.js
parente7b69b29df1593be14ce7c6efdad2f2c973a1c01 (diff)
downloadUXP-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.js1
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");