Merge pull request #190 from gitawego/patch-2

@FIXED dijit modules aren't cached in perfs.php
This commit is contained in:
Andrew Dolgov 2013-05-14 11:50:18 -07:00
commit bf495916ce
1 changed files with 2 additions and 3 deletions

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();
?>