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

Commit 9b83cb5

Browse files
committed
Merge pull request #6994 from SAPlayer/remove-livehtml-flag
Remove .livehtml flag
2 parents c7d08d7 + 07cb4d1 commit 9b83cb5

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/LiveDevelopment/Documents/HTMLDocument.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ define(function HTMLDocumentModule(require, exports, module) {
213213
/** Triggered on change by the editor */
214214
HTMLDocument.prototype._onChange = function (event, editor, change) {
215215
// Make sure LiveHTML is turned on
216-
if (!brackets.livehtml || !this._instrumentationEnabled) {
216+
if (!this._instrumentationEnabled) {
217217
return;
218218
}
219219

src/LiveDevelopment/LiveDevelopment.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,6 @@ define(function LiveDevelopment(require, exports, module) {
131131

132132
launcherUrl = launcherUrl.substr(0, launcherUrl.lastIndexOf("/")) + "/LiveDevelopment/launch.html";
133133
launcherUrl = window.location.origin + launcherUrl;
134-
135-
// TODO: Remove this temporary flag. Once we're certain that Live HTML is ready,
136-
// we can remove all traces of this flag.
137-
brackets.livehtml = true;
138134

139135
// Some agents are still experimental, so we don't enable them all by default
140136
// However, extensions can enable them by calling enableAgent().

0 commit comments

Comments
 (0)