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

Remove brackets.app.abortQuit checks #7885

Merged
merged 1 commit into from
May 21, 2014
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
10 changes: 2 additions & 8 deletions src/document/DocumentCommandHandlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -1280,10 +1280,7 @@ define(function (require, exports, module) {
},
function () {
// if fail, tell the app to abort any pending quit operation.
// TODO: remove this if statement when we move to the new CEF3 shell
if (brackets.app.abortQuit) {
brackets.app.abortQuit();
}
brackets.app.abortQuit();
}
);
}
Expand Down Expand Up @@ -1311,10 +1308,7 @@ define(function (require, exports, module) {
},
function () {
// if fail, don't exit: user canceled (or asked us to save changes first, but we failed to do so)
// TODO: remove this if statement when we move to the new CEF3 shell
if (brackets.app.abortQuit) {
brackets.app.abortQuit();
}
brackets.app.abortQuit();
}
);
}
Expand Down