diff options
author | Andrew Dolgov <[email protected]> | 2016-08-10 10:01:05 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-08-10 10:01:05 +0300 |
commit | ee5170424e8dc571b3a811e02f906aef5ee49e83 (patch) | |
tree | 3c79fb7ec06084dcee674a0e7021e9bcc4521a56 /index.php | |
parent | 25a533c432036280de057bf10ca7b673e4f4aac4 (diff) |
dojo: main UI: load stuff asynchronously
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -88,6 +88,15 @@ <link rel="shortcut icon" type="image/png" href="images/favicon.png"/> <link rel="icon" type="image/png" sizes="72x72" href="images/favicon-72px.png" /> + <script> + dojoConfig = { + async: true, + packages: [ + { name: "fox", location: "../../js" }, + ] + }; + </script> + <?php foreach (array("lib/prototype.js", "lib/scriptaculous/scriptaculous.js?load=effects,controls", @@ -105,7 +114,7 @@ require_once 'lib/jshrink/Minifier.php'; print get_minified_js(array("tt-rss", - "functions", "feedlist", "viewfeed", "FeedTree", "PluginHost")); + "functions", "feedlist", "viewfeed", "PluginHost")); foreach (PluginHost::getInstance()->get_plugins() as $n => $p) { if (method_exists($p, "get_js")) { |