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:
Julian Descottes 2016-08-25 17:51:42 +02:00
parent e1fdfb3b73
commit fa1078eae2
11 changed files with 25 additions and 5 deletions

View File

@ -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

View File

@ -36,7 +36,6 @@ DevToolsModules(
'Jsbeautify.jsm',
'key-shortcuts.js',
'keycodes.js',
'l10n.js',
'node-attribute-parser.js',
'options-view.js',
'output-parser.js',

View File

@ -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)

View File

@ -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.

View File

@ -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',

View 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'
)

View 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'
)