mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 1420273 - Use module.exports for TextPropertyEditor and TextProperty. r=mparkms
This commit is contained in:
parent
7ee7132d62
commit
1a5bb16905
@ -9,8 +9,7 @@
|
||||
const promise = require("promise");
|
||||
const CssLogic = require("devtools/shared/inspector/css-logic");
|
||||
const {ELEMENT_STYLE} = require("devtools/shared/specs/styles");
|
||||
const {TextProperty} =
|
||||
require("devtools/client/inspector/rules/models/text-property");
|
||||
const TextProperty = require("devtools/client/inspector/rules/models/text-property");
|
||||
const {promiseWarn} = require("devtools/client/inspector/shared/utils");
|
||||
const {parseNamedDeclarations} = require("devtools/shared/css/parsing-utils");
|
||||
const Services = require("Services");
|
||||
|
@ -212,4 +212,4 @@ TextProperty.prototype = {
|
||||
}
|
||||
};
|
||||
|
||||
exports.TextProperty = TextProperty;
|
||||
module.exports = TextProperty;
|
||||
|
@ -7,10 +7,13 @@
|
||||
const {l10n} = require("devtools/shared/inspector/css-logic");
|
||||
const {ELEMENT_STYLE} = require("devtools/shared/specs/styles");
|
||||
const Rule = require("devtools/client/inspector/rules/models/rule");
|
||||
const {InplaceEditor, editableField, editableItem} =
|
||||
require("devtools/client/shared/inplace-editor");
|
||||
const {TextPropertyEditor} =
|
||||
require("devtools/client/inspector/rules/views/text-property-editor");
|
||||
const {
|
||||
InplaceEditor,
|
||||
editableField,
|
||||
editableItem
|
||||
} = require("devtools/client/shared/inplace-editor");
|
||||
const TextPropertyEditor =
|
||||
require("devtools/client/inspector/rules/views/text-property-editor");
|
||||
const {
|
||||
createChild,
|
||||
blurOnMultipleProperties,
|
||||
|
@ -1040,4 +1040,4 @@ TextPropertyEditor.prototype = {
|
||||
},
|
||||
};
|
||||
|
||||
exports.TextPropertyEditor = TextPropertyEditor;
|
||||
module.exports = TextPropertyEditor;
|
||||
|
Loading…
Reference in New Issue
Block a user