JsHint fixes - Move the invocation into the parens that contain the function.
Change-Id: I83d4808a9daeb6e0d52f77c718f9e384454d8ecc
This commit is contained in:
@@ -34,11 +34,11 @@ ksort( $list['languages'] );
|
||||
ksort( $list['fonts'] );
|
||||
|
||||
$json = json_encode( $list );
|
||||
$js = <<<JAVASCRIPT
|
||||
$js = <<<JAVASCRIPT
|
||||
// Please do not edit. This file is generated from data/fontrepo by data/fontrepo/scripts/compile.php
|
||||
( function ( $ ) {
|
||||
$.webfonts = $.webfonts || {};
|
||||
$.webfonts.repository = $json;
|
||||
} )( jQuery );
|
||||
JAVASCRIPT;
|
||||
}( jQuery ) );
|
||||
JAVASCRIPT;
|
||||
file_put_contents( '../../../resources/js/ext.uls.webfonts.repository.js', $js );
|
||||
Reference in New Issue
Block a user