Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update to new AppInit API

  • Loading branch information...
commit 6c5a19360b482ad49b7a8716d67eb3b8b3024bf2 1 parent add74aa
@njx authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 main.js
View
4 main.js
@@ -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>");
Please sign in to comment.
Something went wrong with that request. Please try again.