Permalink
Browse files

Merge pull request #1880 from jdiehl/simplified-livedev

Simplified LiveDevelopment/main.js
  • Loading branch information...
2 parents 7e25465 + 0d8768e commit 79ea7b0439cdd9c99223729a64169b7c176a6ff8 @jasonsanjose jasonsanjose committed Oct 19, 2012
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/LiveDevelopment/main.js
@@ -211,11 +211,6 @@ define(function main(require, exports, module) {
AppInit.appReady(function () {
if (DocumentManager.getCurrentDocument()) {
_handleGoLiveCommand();
- } else {
- $(DocumentManager).on("currentDocumentChange", _handleGoLiveCommand);
- window.setTimeout(function () {
- $(DocumentManager).off("currentDocumentChange", _handleGoLiveCommand);
- }, 200);
}
});
}

0 comments on commit 79ea7b0

Please sign in to comment.