Permalink
Browse files

Update to new AppInit API

  • Loading branch information...
1 parent add74aa commit 6c5a19360b482ad49b7a8716d67eb3b8b3024bf2 @njx committed Aug 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 main.js
View
@@ -38,7 +38,7 @@ define(function (require, exports, module) {
Commands = brackets.getModule("command/Commands"),
CommandManager = brackets.getModule("command/CommandManager"),
ExtensionUtils = brackets.getModule("utils/ExtensionUtils"),
- LoadEvents = brackets.getModule("utils/LoadEvents"),
+ AppInit = brackets.getModule("utils/AppInit"),
strings = brackets.getModule("strings");
var $dropdownToggle;
@@ -147,7 +147,7 @@ define(function (require, exports, module) {
$(ProjectManager).on("projectOpen", add);
$(ProjectManager).on("beforeProjectClose", add);
- LoadEvents.htmlContentLoadComplete(function () {
+ AppInit.htmlReady(function () {
$("#project-title")
.wrap("<div id='project-dropdown-toggle'></div>")
.after("<span class='dropdown-arrow'></span>");

0 comments on commit 6c5a193

Please sign in to comment.