mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:35:56 +00:00
@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:
@@ -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();
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user