diff --git a/README.md b/README.md index bbc21ca..7649221 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It uses the node-copy-paste library for accessing the clipboard: https://github. * 1.3.1 * Fixed cursor position after cut * 1.3.0 - * Added multi-langauge support + * Added multi-language support * 1.2.0 * Cursor now sits at the end of pasted content * No longer copies blank selections diff --git a/main.js b/main.js index 942fe99..bd18d64 100644 --- a/main.js +++ b/main.js @@ -10,7 +10,7 @@ define(function (require, exports, module) { var NodeConnection = brackets.getModule("utils/NodeConnection"); var ExtensionUtils = brackets.getModule("utils/ExtensionUtils"); var AppInit = brackets.getModule("utils/AppInit"); - var bracketsStrings = brackets.getModule("strings") + var bracketsStrings = brackets.getModule("strings"); var nodeConnection = new NodeConnection(); function chain() { @@ -87,7 +87,7 @@ define(function (require, exports, module) { var thisEditor = EditorManager.getCurrentFullEditor(); //check selection is not blank - if(thisEditor._codeMirror.getSelection().trim() != ''){ + if(thisEditor._codeMirror.getSelection().trim() !== ''){ nodeConnection.domains.clipboard.callCopy(thisEditor._codeMirror.getSelection()); } @@ -116,4 +116,4 @@ define(function (require, exports, module) { //exports.handleRightClickExtended = handleRightClickExtended; -}); \ No newline at end of file +}); diff --git a/package.json b/package.json index 334b9f2..30c5046 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jarradsalmon.rightclickextended", "title": "Right Click Extended", - "description": "Adds Cut, Copy and Paste options to the right click menu - now with multi-langauge support", + "description": "Adds Cut, Copy and Paste options to the right click menu - now with multi-language support.", "homepage": "https://github.com/jbardnz/RightClickExtended", "version": "1.3.1", "author": "Jarrad Salmon ",