Deprecate FUEL extension helper javascript library
parent
7f7f6c6a22
commit
061b9654d5
|
@ -6,6 +6,8 @@ const Ci = Components.interfaces;
|
||||||
const Cc = Components.classes;
|
const Cc = Components.classes;
|
||||||
|
|
||||||
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
|
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_CID = Components.ID("fe74cf80-aa2d-11db-abbd-0800200c9a66");
|
||||||
const APPLICATION_CONTRACTID = "@mozilla.org/fuel/application;1";
|
const APPLICATION_CONTRACTID = "@mozilla.org/fuel/application;1";
|
||||||
|
@ -734,6 +736,8 @@ var ApplicationFactory = {
|
||||||
//=================================================
|
//=================================================
|
||||||
// Application constructor
|
// Application constructor
|
||||||
function Application() {
|
function Application() {
|
||||||
|
Deprecated.warning("FUEL is deprecated, you should use the standard Toolkit API instead.",
|
||||||
|
"https://github.com/MoonchildProductions/UXP/issues/1083");
|
||||||
this.initToolkitHelpers();
|
this.initToolkitHelpers();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue