MDL-21503 eliminating global Y

This commit is contained in:
Petr Skoda
2010-02-03 09:32:02 +00:00
parent 76418c143b
commit 384ab39a62
5 changed files with 6 additions and 13 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ foreach ($string as $key=>$value) {
$lang = str_replace('_utf8', '', $lang); // use more standard language codes
$output = 'tinyMCE.addI18n({'.$lang.':'.json_encode($result).'});';
$output = 'tinyMCE.addI18n({'.$lang.':'.Y.JSON.stringify($result).'});';
$lifetime = '10'; // TODO: increase later
@header('Content-type: text/javascript; charset=utf-8');