nashorn/bin/fixwhitespace.sh
changeset 24740 26791be09688
parent 16151 97c1e756ae1e
child 24768 ae21f28f0ddc
--- a/nashorn/bin/fixwhitespace.sh	Fri Apr 11 16:52:56 2014 +0200
+++ b/nashorn/bin/fixwhitespace.sh	Thu Apr 17 20:01:19 2014 +0200
@@ -28,3 +28,9 @@
 #remove trailing whitespace
 find . -name "*.java" -exec sed -i "" 's/[ 	]*$//' \{} \;
 
+#convert tabs to spaces
+find . -name "*.js" -exec sed -i "" 's/	/    /g' {} \;
+
+#remove trailing whitespace
+find . -name "*.js" -exec sed -i "" 's/[ 	]*$//' \{} \;
+