mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-23 07:37:29 +09:00
Issue #1083 - Deprecate FUEL extension helper javascript library
This commit is contained in:
parent
c14d99f0ed
commit
9d9a113400
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue