mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
dojo: main UI: load stuff asynchronously
This commit is contained in:
11
index.php
11
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")) {
|
||||
|
||||
Reference in New Issue
Block a user