# HG changeset patch # User Mads Kiilerich # Date 1438350247 -7200 # Node ID 40871e0eb13a511b23d292c58ad0783d2816d931 # Parent cd64e53de17b58a86bd92a8624ac6bb08da88912 style: add trailing newline to files diff -r cd64e53de17b -r 40871e0eb13a kallithea/public/css/bootstrap.css --- a/kallithea/public/css/bootstrap.css Fri Jul 31 15:44:07 2015 +0200 +++ b/kallithea/public/css/bootstrap.css Fri Jul 31 15:44:07 2015 +0200 @@ -6802,4 +6802,4 @@ td.hidden-print { display: none !important; } -} \ No newline at end of file +} diff -r cd64e53de17b -r 40871e0eb13a kallithea/public/js/base.js --- a/kallithea/public/js/base.js Fri Jul 31 15:44:07 2015 +0200 +++ b/kallithea/public/js/base.js Fri Jul 31 15:44:07 2015 +0200 @@ -1439,7 +1439,7 @@ var myAC = aArgs[0]; // reference back to the AC instance var elLI = aArgs[1]; // reference to the selected LI element var oData = aArgs[2]; // object literal of selected item's result data - + addReviewMember(oData.id, oData.fname, oData.lname, oData.nname, oData.gravatar_lnk, oData.gravatar_size); myAC.getInputEl().value = ''; diff -r cd64e53de17b -r 40871e0eb13a whitespacecleanup.sh --- a/whitespacecleanup.sh Fri Jul 31 15:44:07 2015 +0200 +++ b/whitespacecleanup.sh Fri Jul 31 15:44:07 2015 +0200 @@ -2,9 +2,11 @@ # Enforce some consistency in whitespace - just to avoid spurious whitespaces changes -files=`hg loc '*.py' '*.html' '*.css' '*.rst' '*.txt' '*.js' | egrep -v '/lockfiles.py|LICENSE-MERGELY.html|/codemirror/|/fontello/|(graph|mergely|native.history|select2/select2|yui.flot)\.js$'` +files=`hg loc '*.py' '*.html' '*.css' '*.rst' '*.txt' '*.js' | egrep -v '/lockfiles.py|LICENSE-MERGELY.html|/codemirror/|/fontello/|(graph|mergely|native.history|select2/select2|yui.flot|yui.2.9)\.js$'` sed -i "s,`printf '\t'`, ,g" $files sed -i "s, *$,,g" $files +# add trailing newline if missing: +sed -i '$a\' $files sed -i 's,\([^ /]\){,\1 {,g' `hg loc '*.css'` sed -i 's|^\([^ /].*,\)\([^ ]\)|\1 \2|g' `hg loc '*.css'`