Merge pull request #116 from dandersson/load_user_js_last

Load plugin JS after native JS to enhance plugin capabilities
This commit is contained in:
Andrew Dolgov 2013-04-01 13:00:51 -07:00
commit d3dc4b4741

View File

@ -104,6 +104,9 @@
<?php <?php
require 'lib/jshrink/Minifier.php'; require 'lib/jshrink/Minifier.php';
print get_minified_js(array("tt-rss",
"functions", "feedlist", "viewfeed", "FeedTree"));
global $pluginhost; global $pluginhost;
foreach ($pluginhost->get_plugins() as $n => $p) { foreach ($pluginhost->get_plugins() as $n => $p) {
@ -112,9 +115,6 @@
} }
} }
print get_minified_js(array("tt-rss",
"functions", "feedlist", "viewfeed", "FeedTree"));
init_js_translations(); init_js_translations();
?> ?>
</script> </script>