зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1592513 - Move DOMHelpers.jsm from devtools/client/shared/ to devtools/shared/ r=rcaliman
Since I started using this helper in devtools/server/ (Node actor), the file needs to move outside of devtools/client Differential Revision: https://phabricator.services.mozilla.com/D51053 --HG-- rename : devtools/client/shared/DOMHelpers.jsm => devtools/shared/DOMHelpers.jsm extra : moz-landing-system : lando
This commit is contained in:
Родитель
286ed3b72c
Коммит
e266463281
|
@ -7,9 +7,7 @@
|
|||
const EventEmitter = require("devtools/shared/event-emitter");
|
||||
const promise = require("promise");
|
||||
const Services = require("Services");
|
||||
const {
|
||||
DOMHelpers,
|
||||
} = require("resource://devtools/client/shared/DOMHelpers.jsm");
|
||||
const { DOMHelpers } = require("resource://devtools/shared/DOMHelpers.jsm");
|
||||
|
||||
loader.lazyRequireGetter(
|
||||
this,
|
||||
|
|
|
@ -27,9 +27,7 @@ var EventEmitter = require("devtools/shared/event-emitter");
|
|||
const Selection = require("devtools/client/framework/selection");
|
||||
var Telemetry = require("devtools/client/shared/telemetry");
|
||||
const { getUnicodeUrl } = require("devtools/client/shared/unicode-url");
|
||||
var {
|
||||
DOMHelpers,
|
||||
} = require("resource://devtools/client/shared/DOMHelpers.jsm");
|
||||
var { DOMHelpers } = require("resource://devtools/shared/DOMHelpers.jsm");
|
||||
const { KeyCodes } = require("devtools/client/shared/keycodes");
|
||||
var Startup = Cc["@mozilla.org/devtools/startup-clh;1"].getService(
|
||||
Ci.nsISupports
|
||||
|
|
|
@ -30,7 +30,6 @@ DevToolsModules(
|
|||
'curl.js',
|
||||
'demangle.js',
|
||||
'devices.js',
|
||||
'DOMHelpers.jsm',
|
||||
'enum.js',
|
||||
'events.js',
|
||||
'focus.js',
|
||||
|
|
|
@ -14,7 +14,7 @@ Services.scriptloader.loadSubScript(
|
|||
);
|
||||
|
||||
const { DOMHelpers } = ChromeUtils.import(
|
||||
"resource://devtools/client/shared/DOMHelpers.jsm"
|
||||
"resource://devtools/shared/DOMHelpers.jsm"
|
||||
);
|
||||
const { Hosts } = require("devtools/client/framework/toolbox-hosts");
|
||||
|
||||
|
|
|
@ -8,9 +8,7 @@ const {
|
|||
} = require("devtools/client/shared/widgets/view-helpers");
|
||||
const { getCurrentZoom } = require("devtools/shared/layout/utils");
|
||||
const DevToolsUtils = require("devtools/shared/DevToolsUtils");
|
||||
const {
|
||||
DOMHelpers,
|
||||
} = require("resource://devtools/client/shared/DOMHelpers.jsm");
|
||||
const { DOMHelpers } = require("resource://devtools/shared/DOMHelpers.jsm");
|
||||
|
||||
loader.lazyRequireGetter(this, "EventEmitter", "devtools/shared/event-emitter");
|
||||
|
||||
|
|
|
@ -146,7 +146,7 @@ loader.lazyRequireGetter(
|
|||
loader.lazyRequireGetter(
|
||||
this,
|
||||
"DOMHelpers",
|
||||
"resource://devtools/client/shared/DOMHelpers.jsm",
|
||||
"resource://devtools/shared/DOMHelpers.jsm",
|
||||
true
|
||||
);
|
||||
|
||||
|
|
|
@ -55,6 +55,7 @@ DevToolsModules(
|
|||
'DevToolsUtils.js',
|
||||
'dom-node-constants.js',
|
||||
'dom-node-filter-constants.js',
|
||||
'DOMHelpers.jsm',
|
||||
'event-emitter.js',
|
||||
'execution-point-utils.js',
|
||||
'extend.js',
|
||||
|
|
Загрузка…
Ссылка в новой задаче