Bug 1494162 - Part 12: Lazy load modules in RuleEditor. r=pbro

This commit is contained in:
Gabriel Luong 2018-09-28 12:48:28 -04:00
Родитель 38f1733efb
Коммит c75eb16fc7
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -29,10 +29,11 @@ const {
const promise = require("promise");
const Services = require("Services");
const EventEmitter = require("devtools/shared/event-emitter");
const {Tools} = require("devtools/client/definitions");
const {gDevTools} = require("devtools/client/framework/devtools");
const CssLogic = require("devtools/shared/inspector/css-logic");
loader.lazyRequireGetter(this, "Tools", "devtools/client/definitions", true);
loader.lazyRequireGetter(this, "gDevTools", "devtools/client/framework/devtools", true);
const STYLE_INSPECTOR_PROPERTIES = "devtools/shared/locales/styleinspector.properties";
const {LocalizationHelper} = require("devtools/shared/l10n");
const STYLE_INSPECTOR_L10N = new LocalizationHelper(STYLE_INSPECTOR_PROPERTIES);