'use strict' in JavaScript langdb

JSHint can complain about this in build checks, and it shouldn't
hurt anything. But correct me if I'm wrong.
This commit is contained in:
Amir E. Aharoni
2013-01-08 22:34:16 +02:00
parent ca18edd0dd
commit df2c40dc92
2 changed files with 3 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ $json = json_encode( $parsedLangdb );
$js = <<<JAVASCRIPT
// Please do not edit. This file is generated from data/langdb.yaml by ulsdata2json.php
( function ( $ ) {
'use strict';
$.uls = $.uls || {};
$.uls.data = $json;
} ( jQuery ) );