@FIXED dijit modules aren't cached in perfs.php

I don't know if it's the best practice of using Minifier.php like this
This commit is contained in:
gitawego 2013-05-14 20:29:16 +02:00
parent fc0094d5f1
commit 010eb9c169

View file

@ -53,8 +53,6 @@
foreach (array("lib/prototype.js",
"lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls",
"lib/dojo/dojo.js",
"lib/dijit/dijit.js",
"lib/CheckBoxTree.js",
"lib/dojo/tt-rss-layer.js",
"errors.php?mode=js") as $jsfile) {
@ -63,6 +61,7 @@
} ?>
<script type="text/javascript">
require({cache:{}});
<?php
require 'lib/jshrink/Minifier.php';
@ -72,7 +71,7 @@
}
}
print get_minified_js(array("functions", "deprecated", "prefs", "PrefFeedTree", "PrefFilterTree", "PrefLabelTree"));
print get_minified_js(array("../lib/CheckBoxTree","functions", "deprecated", "prefs", "PrefFeedTree", "PrefFilterTree", "PrefLabelTree"));
init_js_translations();
?>