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

Bugfix: run AppInit._dispatchReady AFTER loading the extensions #1854

Merged
merged 1 commit into from
Oct 16, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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