Inject plugins into hooks.

This commit is contained in:
Chad Weider 2012-05-28 18:58:55 -07:00
parent 3631f0ece3
commit 9394495364
3 changed files with 13 additions and 9 deletions

View file

@ -374,6 +374,8 @@
plugins.baseURL = baseURL;
plugins.update(function () {
hooks.plugins = plugins;
// Call documentReady hook
$(function() {
hooks.aCallAll('documentReady');