1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 09:53:00 +01:00

Small Code clean up

This commit is contained in:
Lance Campbell 2014-04-23 18:11:16 -07:00
parent 7ca5f89f14
commit 4c633af100
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ define(function (require, exports, module) {
* @param {!string} newConstant
*/
function _deprecateCommand(oldConstant, newConstant) {
var warning = "Use Commands." + newConstant + " instead of Commands." + oldConstant + ".",
var warning = "Use Commands." + newConstant + " instead of Commands." + oldConstant,
newValue = exports[newConstant];
Object.defineProperty(exports, oldConstant, {

View File

@ -560,7 +560,7 @@ define(function (require, exports, module) {
DeprecationWarning.deprecationWarning("Add " + command + " Command to the Find Menu instead of the Edit Menu.", true);
DeprecationWarning.deprecationWarning("Use MenuSection.FIND_FIND_COMMANDS instead of MenuSection.EDIT_FIND_COMMANDS.", true);
} else if (relativeID === MenuSection.EDIT_REPLACE_COMMANDS) {
DeprecationWarning.deprecationWarning("Add " + command + "Command to the Find Menu instead of the Edit Menu.", true);
DeprecationWarning.deprecationWarning("Add " + command + " Command to the Find Menu instead of the Edit Menu.", true);
DeprecationWarning.deprecationWarning("Use MenuSection.FIND_REPLACE_COMMANDS instead of MenuSection.EDIT_REPLACE_COMMANDS.", true);
}