Bug 1494162 - Part 13: Lazy load modules in the TextPropertyEditor. r=pbro

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

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

@ -5,23 +5,19 @@
"use strict";
const Services = require("Services");
const { l10n } = require("devtools/shared/inspector/css-logic");
const {getCssProperties} = require("devtools/shared/fronts/css-properties");
const {InplaceEditor, editableField} =
require("devtools/client/shared/inplace-editor");
const { getCssProperties } = require("devtools/shared/fronts/css-properties");
const { InplaceEditor, editableField } = require("devtools/client/shared/inplace-editor");
const {
createChild,
appendText,
advanceValidate,
blurOnMultipleProperties
blurOnMultipleProperties,
} = require("devtools/client/inspector/shared/utils");
const {
parseDeclarations,
parseSingleValue,
} = require("devtools/shared/css/parsing-utils");
loader.lazyRequireGetter(this, "openContentLink", "devtools/client/shared/link", true);
loader.lazyRequireGetter(this, "parseDeclarations", "devtools/shared/css/parsing-utils", true);
loader.lazyRequireGetter(this, "parseSingleValue", "devtools/shared/css/parsing-utils", true);
const HTML_NS = "http://www.w3.org/1999/xhtml";