summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-08-10 10:01:05 +0300
committerAndrew Dolgov <[email protected]>2016-08-10 10:01:05 +0300
commitee5170424e8dc571b3a811e02f906aef5ee49e83 (patch)
tree3c79fb7ec06084dcee674a0e7021e9bcc4521a56 /index.php
parent25a533c432036280de057bf10ca7b673e4f4aac4 (diff)
dojo: main UI: load stuff asynchronously
Diffstat (limited to 'index.php')
-rw-r--r--index.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/index.php b/index.php
index ecde3bae2..36734619f 100644
--- a/index.php
+++ b/index.php
@@ -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")) {