From 61315cc80143469de1cbeefad7b3b61f79fd06db Mon Sep 17 00:00:00 2001 From: Denisov21 Date: Wed, 20 Aug 2014 11:39:32 +0200 Subject: [PATCH 1/3] Update main.js I fix 2 errors! --- main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 +}); From cdf44b94870257041706cd34f429279b4c594493 Mon Sep 17 00:00:00 2001 From: Denisov21 Date: Wed, 20 Aug 2014 17:43:36 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 76f7bb9e8d06c2a36d7b8200c76f8e97e20fc9f3 Mon Sep 17 00:00:00 2001 From: Denisov21 Date: Wed, 20 Aug 2014 17:44:15 +0200 Subject: [PATCH 3/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ",