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
This commit is contained in:
Santhosh Thottingal
2012-09-04 16:01:05 +05:30
parent 126af493b7
commit dd3d214cb5
7 changed files with 25 additions and 27 deletions

View File

@@ -72,7 +72,7 @@ $js = <<<JAVASCRIPT
( function ( $ ) {
$.uls = $.uls || {};
$.uls.data = $json;
} )( jQuery );
} ( jQuery ) );
JAVASCRIPT;
file_put_contents( '../src/jquery.uls.data.js', $js );