Deprecate FUEL extension helper javascript library

master
Fedor 2019-07-08 13:08:13 +03:00
parent 7f7f6c6a22
commit 061b9654d5
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,8 @@ const Ci = Components.interfaces;
const Cc = Components.classes;
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "Deprecated",
"resource://gre/modules/Deprecated.jsm");
const APPLICATION_CID = Components.ID("fe74cf80-aa2d-11db-abbd-0800200c9a66");
const APPLICATION_CONTRACTID = "@mozilla.org/fuel/application;1";
@ -734,6 +736,8 @@ var ApplicationFactory = {
//=================================================
// Application constructor
function Application() {
Deprecated.warning("FUEL is deprecated, you should use the standard Toolkit API instead.",
"https://github.com/MoonchildProductions/UXP/issues/1083");
this.initToolkitHelpers();
}