Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 4c633af

Browse files
committed
Small Code clean up
1 parent 7ca5f89 commit 4c633af

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/command/Commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ define(function (require, exports, module) {
3737
* @param {!string} newConstant
3838
*/
3939
function _deprecateCommand(oldConstant, newConstant) {
40-
var warning = "Use Commands." + newConstant + " instead of Commands." + oldConstant + ".",
40+
var warning = "Use Commands." + newConstant + " instead of Commands." + oldConstant,
4141
newValue = exports[newConstant];
4242

4343
Object.defineProperty(exports, oldConstant, {

src/command/Menus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ define(function (require, exports, module) {
560560
DeprecationWarning.deprecationWarning("Add " + command + " Command to the Find Menu instead of the Edit Menu.", true);
561561
DeprecationWarning.deprecationWarning("Use MenuSection.FIND_FIND_COMMANDS instead of MenuSection.EDIT_FIND_COMMANDS.", true);
562562
} else if (relativeID === MenuSection.EDIT_REPLACE_COMMANDS) {
563-
DeprecationWarning.deprecationWarning("Add " + command + "Command to the Find Menu instead of the Edit Menu.", true);
563+
DeprecationWarning.deprecationWarning("Add " + command + " Command to the Find Menu instead of the Edit Menu.", true);
564564
DeprecationWarning.deprecationWarning("Use MenuSection.FIND_REPLACE_COMMANDS instead of MenuSection.EDIT_REPLACE_COMMANDS.", true);
565565
}
566566

0 commit comments

Comments
 (0)