aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/textselection.js
diff options
context:
space:
mode:
authorMatt Perry <matt@mattperry.com>2013-09-10 22:17:43 -0700
committerMatt Perry <matt@mattperry.com>2013-09-10 22:17:43 -0700
commit2f7a0e94cadfbc1ece3bd1d3ff23483b845cd420 (patch)
tree2cf3cae2992572780613d7947c6e6b32ad7e84cd /lib/scripts/textselection.js
parent010b7000dc28ca11be8f8f679319fe846ca2723f (diff)
downloaddokuwiki-2f7a0e94cadfbc1ece3bd1d3ff23483b845cd420.tar.gz
dokuwiki-2f7a0e94cadfbc1ece3bd1d3ff23483b845cd420.zip
Fix CodeSniffer whitespace violoations
Removed extraneous whitespace to eliminate errors reported by the Squiz.WhiteSpace.SuperfluousWhitespace sniff.
Diffstat (limited to 'lib/scripts/textselection.js')
-rw-r--r--lib/scripts/textselection.js2
1 files changed, 0 insertions, 2 deletions
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});
}
-