Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Bugfix: run AppInit._dispatchReady AFTER loading the extensions, as i…
Browse files Browse the repository at this point in the history
…ntended
  • Loading branch information
DennisKehrig committed Oct 16, 2012
1 parent bbc221d commit 5d57b51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/brackets.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ define(function (require, exports, module) {
// WARNING: AppInit.appReady won't fire if ANY extension fails to
// load or throws an error during init. To fix this, we need to
// make a change to _initExtensions (filed as issue 1029)
_initExtensions().always(AppInit._dispatchReady(AppInit.APP_READY));
_initExtensions().always(function () {
AppInit._dispatchReady(AppInit.APP_READY);
});

// If this is the first launch, and we have an index.html file in the project folder (which should be
// the samples folder on first launch), open it automatically. (We explicitly check for the
Expand Down

0 comments on commit 5d57b51

Please sign in to comment.