mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1298012 - move l10n.js from devtools/client/shared to devtools/shared;r=bgrins
MozReview-Commit-ID: 1HX0g7AoJwt --HG-- rename : devtools/client/shared/l10n.js => devtools/shared/l10n.js rename : devtools/client/shared/vendor/NODE_PROPERTIES_UPGRADING => devtools/shared/node-properties/UPGRADING.md rename : devtools/client/shared/vendor/node-properties.js => devtools/shared/node-properties/node-properties.js rename : devtools/client/shared/vendor/SPRINTF_JS_UPGRADING => devtools/shared/sprintfjs/UPGRADING.md rename : devtools/client/shared/vendor/sprintf.js => devtools/shared/sprintfjs/sprintf.js extra : rebase_source : 9ace2a98a0a158db502087954775971dc962a168 extra : intermediate-source : 69f9cf04d5c89d498a589e03dee73217c4adec7d extra : source : 6b4cada962aaa543279112b01ed800f3ca9315e4
This commit is contained in:
parent
e1fdfb3b73
commit
fa1078eae2
@ -165,8 +165,10 @@ devtools/client/preferences/**
|
||||
devtools/shared/jsbeautify/*
|
||||
devtools/shared/acorn/*
|
||||
devtools/client/sourceeditor/tern/*
|
||||
devtools/shared/node-properties/*
|
||||
devtools/shared/pretty-fast/*
|
||||
devtools/shared/sourcemap/*
|
||||
devtools/shared/sprintfjs/*
|
||||
devtools/shared/qrcode/decoder/*
|
||||
devtools/shared/qrcode/encoder/*
|
||||
devtools/client/shared/demangle.js
|
||||
|
@ -36,7 +36,6 @@ DevToolsModules(
|
||||
'Jsbeautify.jsm',
|
||||
'key-shortcuts.js',
|
||||
'keycodes.js',
|
||||
'l10n.js',
|
||||
'node-attribute-parser.js',
|
||||
'options-view.js',
|
||||
'output-parser.js',
|
||||
|
2
devtools/client/shared/vendor/moz.build
vendored
2
devtools/client/shared/vendor/moz.build
vendored
@ -7,7 +7,6 @@ modules = []
|
||||
modules += [
|
||||
'immutable.js',
|
||||
'jsol.js',
|
||||
'node-properties.js',
|
||||
]
|
||||
|
||||
# react-dev is used if either debug mode is enabled,
|
||||
@ -22,7 +21,6 @@ modules += [
|
||||
'react.js',
|
||||
'redux.js',
|
||||
'seamless-immutable.js',
|
||||
'sprintf.js',
|
||||
]
|
||||
|
||||
DevToolsModules(*modules)
|
||||
|
@ -3,8 +3,8 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
"use strict";
|
||||
|
||||
const parsePropertiesFile = require("devtools/client/shared/vendor/node-properties");
|
||||
const { sprintf } = require("devtools/client/shared/vendor/sprintf");
|
||||
const parsePropertiesFile = require("devtools/shared/node-properties/node-properties");
|
||||
const { sprintf } = require("devtools/shared/sprintfjs/sprintf");
|
||||
|
||||
/**
|
||||
* Localization convenience methods.
|
@ -18,12 +18,14 @@ DIRS += [
|
||||
'jsbeautify',
|
||||
'layout',
|
||||
'locales',
|
||||
'node-properties',
|
||||
'performance',
|
||||
'platform',
|
||||
'pretty-fast',
|
||||
'qrcode',
|
||||
'security',
|
||||
'sourcemap',
|
||||
'sprintfjs',
|
||||
'shims',
|
||||
'specs',
|
||||
'touch',
|
||||
@ -56,6 +58,7 @@ DevToolsModules(
|
||||
'event-emitter.js',
|
||||
'flags.js',
|
||||
'indentation.js',
|
||||
'l10n.js',
|
||||
'loader-plugin-raw.jsm',
|
||||
'Loader.jsm',
|
||||
'Parser.jsm',
|
||||
|
9
devtools/shared/node-properties/moz.build
Normal file
9
devtools/shared/node-properties/moz.build
Normal file
@ -0,0 +1,9 @@
|
||||
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
DevToolsModules(
|
||||
'node-properties.js'
|
||||
)
|
9
devtools/shared/sprintfjs/moz.build
Normal file
9
devtools/shared/sprintfjs/moz.build
Normal file
@ -0,0 +1,9 @@
|
||||
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
DevToolsModules(
|
||||
'sprintf.js'
|
||||
)
|
Loading…
Reference in New Issue
Block a user