digest: remove unused dependencies; optimize load a bit
This commit is contained in:
parent
b5d4716a52
commit
2d2d08fc41
|
@ -670,8 +670,6 @@ function init_second_stage() {
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
try {
|
try {
|
||||||
dojo.require("dijit.Dialog");
|
|
||||||
|
|
||||||
new Ajax.Request("backend.php", {
|
new Ajax.Request("backend.php", {
|
||||||
parameters: {op: "rpc", method: "sanityCheck"},
|
parameters: {op: "rpc", method: "sanityCheck"},
|
||||||
onComplete: function(transport) {
|
onComplete: function(transport) {
|
||||||
|
|
|
@ -7,8 +7,7 @@
|
||||||
<head>
|
<head>
|
||||||
<title>Tiny Tiny RSS</title>
|
<title>Tiny Tiny RSS</title>
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="lib/dijit/themes/claro/claro.css"/>
|
<?php echo stylesheet_tag("plugins/digest/digest.css") ?>
|
||||||
<link rel="stylesheet" type="text/css" href="plugins/digest/digest.css?<?php echo $dt_add ?>"/>
|
|
||||||
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||||
|
|
||||||
|
@ -16,13 +15,18 @@
|
||||||
|
|
||||||
<link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
|
<link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
|
||||||
|
|
||||||
<script type="text/javascript" src="lib/dojo/dojo.js" djConfig="parseOnLoad: true"></script>
|
<?php
|
||||||
<script type="text/javascript" src="lib/prototype.js"></script>
|
foreach (array("lib/prototype.js",
|
||||||
<script type="text/javascript" src="lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script>
|
"lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls",
|
||||||
|
"localized_js.php",
|
||||||
|
"js/functions.js",
|
||||||
|
"plugins/digest/digest.js",
|
||||||
|
"errors.php?mode=js") as $jsfile) {
|
||||||
|
|
||||||
|
echo javascript_tag($jsfile);
|
||||||
|
|
||||||
|
} ?>
|
||||||
|
|
||||||
<script type="text/javascript" charset="utf-8" src="localized_js.php?<?php echo $dt_add ?>"></script>
|
|
||||||
<script type="text/javascript" charset="utf-8" src="errors.php?mode=js"></script>
|
|
||||||
<script type="text/javascript" charset="utf-8" src="js/functions.js?<?php echo $dt_add ?>"></script>
|
|
||||||
<script type="text/javascript" src="plugins/digest/digest.js"></script>
|
<script type="text/javascript" src="plugins/digest/digest.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -31,7 +35,7 @@
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body id="ttrssDigest" class="claro">
|
<body id="ttrssDigest">
|
||||||
<div id="overlay" style="display : block">
|
<div id="overlay" style="display : block">
|
||||||
<div id="overlay_inner">
|
<div id="overlay_inner">
|
||||||
<noscript>
|
<noscript>
|
||||||
|
|
Loading…
Reference in New Issue