Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Commit

Permalink
Changed api event to apiready.
Browse files Browse the repository at this point in the history
It makes more sense!
  • Loading branch information
octalmage committed Feb 2, 2015
1 parent 257b14b commit 31ed46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ $(document).on("ready", function()
if(err) console.log(err);
files.forEach(function(file)
{
api.emit("appready");
if (file.indexOf(".js") == file.length-3)
{
var s = document.createElement("script");
Expand All @@ -417,6 +416,7 @@ $(document).on("ready", function()
});

//Let plugins know everything has finished loading.
api.emit("apiready");
});
}
});
Expand Down

0 comments on commit 31ed46b

Please sign in to comment.