Issue #1083 - Deprecate FUEL extension helper javascript library

This commit is contained in:
Matt A. Tobin 2019-05-09 14:21:18 -04:00 committed by Roy Tam
commit 9d9a113400

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();
}