]> git.wh0rd.org - tt-rss.git/commitdiff
Load plugin JS last to enhance plugin capabilities
authorDaniel Andersson <sskraep@gmail.com>
Mon, 1 Apr 2013 19:08:04 +0000 (21:08 +0200)
committerDaniel Andersson <sskraep@gmail.com>
Mon, 1 Apr 2013 19:08:04 +0000 (21:08 +0200)
index.php

index 7fb7a7878732c146cfbc0a16f1f1d6eb34ccb85c..ac2762f7f33393961ccdb6f400942040e30c84bf 100644 (file)
--- a/index.php
+++ b/index.php
        <?php
                require 'lib/jshrink/Minifier.php';
 
+               print get_minified_js(array("tt-rss",
+                       "functions", "feedlist", "viewfeed", "FeedTree"));
+
                global $pluginhost;
 
                foreach ($pluginhost->get_plugins() as $n => $p) {
                        }
                }
 
-               print get_minified_js(array("tt-rss",
-                       "functions", "feedlist", "viewfeed", "FeedTree"));
-
                init_js_translations();
        ?>
        </script>