From dd3d214cb513025e980480440052eeafd78edaa6 Mon Sep 17 00:00:00 2001 From: Santhosh Thottingal Date: Tue, 4 Sep 2012 16:01:05 +0530 Subject: [PATCH] Misc jshint fixes * Move the invocation into the parens that contain the function. * unescaped regex * Do not wrap function literals in parens unless they are to be immediately invoked. Change-Id: Ib3360f88fb7674af0e857d8a84a91fdac1fd8487 --- lib/jquery.uls/data/ulsdata2json.php | 2 +- lib/jquery.uls/src/jquery.uls.core.js | 22 +++++++++---------- lib/jquery.uls/src/jquery.uls.data.js | 2 +- lib/jquery.uls/src/jquery.uls.data.utils.js | 2 +- .../src/jquery.uls.languagefilter.js | 12 +++++----- lib/jquery.uls/src/jquery.uls.lcd.js | 2 +- lib/jquery.uls/src/jquery.uls.regionfilter.js | 10 ++++----- 7 files changed, 25 insertions(+), 27 deletions(-) diff --git a/lib/jquery.uls/data/ulsdata2json.php b/lib/jquery.uls/data/ulsdata2json.php index e77b89d5..b11d8297 100644 --- a/lib/jquery.uls/data/ulsdata2json.php +++ b/lib/jquery.uls/data/ulsdata2json.php @@ -72,7 +72,7 @@ $js = <<