diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-09-22 08:39:16 -0700 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-09-22 08:39:16 -0700 |
commit | 77fdda69a5ae7b877bdf66d5158b3ab0b583f4f4 (patch) | |
tree | 16238e3eae6141a199a91704493a5a3770d8b56a /lib/scripts | |
parent | 9c438d6c2f958e38aa324a04ed37b9a072872038 (diff) | |
parent | 2f7a0e94cadfbc1ece3bd1d3ff23483b845cd420 (diff) | |
download | rpg-77fdda69a5ae7b877bdf66d5158b3ab0b583f4f4.tar.gz rpg-77fdda69a5ae7b877bdf66d5158b3ab0b583f4f4.tar.bz2 |
Merge pull request #333 from mperry2/whitespace
Fix CodeSniffer whitespace violoations
Diffstat (limited to 'lib/scripts')
-rw-r--r-- | lib/scripts/linkwiz.js | 1 | ||||
-rw-r--r-- | lib/scripts/textselection.js | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/scripts/linkwiz.js b/lib/scripts/linkwiz.js index 875d4a995..f6ac9b032 100644 --- a/lib/scripts/linkwiz.js +++ b/lib/scripts/linkwiz.js @@ -237,7 +237,6 @@ var dw_linkwiz = { link = ':' + link; } - var so = link.length; var eo = 0; if(dw_linkwiz.val){ diff --git a/lib/scripts/textselection.js b/lib/scripts/textselection.js index bd80e9341..26b4196f2 100644 --- a/lib/scripts/textselection.js +++ b/lib/scripts/textselection.js @@ -104,7 +104,6 @@ function getSelection(textArea) { } } while ((!before_finished || !selection_finished)); - // count number of newlines in str to work around stupid IE selection bug var countNL = function(str) { var m = str.split("\r\n"); @@ -230,4 +229,3 @@ function insertAtCarret(textAreaID, text){ var selection = getSelection(txtarea); pasteText(selection,text,{nosel: true}); } - |