Skip to content

Commit 815e48a

Browse files
committed
fix: remove redundant code from live development file as they are no more used
1 parent 59cfa5d commit 815e48a

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/LiveDevelopment/main.js

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,7 @@ define(function main(require, exports, module) {
8686

8787
var params = new UrlParams();
8888
var config = {
89-
experimental: false, // enable experimental features
90-
debug: true, // enable debug output and helpers
9189
highlight: true, // enable highlighting?
92-
highlightConfig: { // the highlight configuration for the Inspector
93-
borderColor: {r: 255, g: 229, b: 153, a: 0.66},
94-
contentColor: {r: 111, g: 168, b: 220, a: 0.55},
95-
marginColor: {r: 246, g: 178, b: 107, a: 0.66},
96-
paddingColor: {r: 147, g: 196, b: 125, a: 0.66},
97-
showInfo: true
98-
},
9990
isProUser: isProUser,
10091
elemHighlights: "hover", // default value, this will get updated when the extension loads
10192
showRulerLines: false, // default value, this will get updated when the extension loads
@@ -299,11 +290,6 @@ define(function main(require, exports, module) {
299290
PreferencesManager.setViewState("livedevHighlight", config.highlight);
300291
}
301292

302-
/** Setup window references to useful LiveDevelopment modules */
303-
function _setupDebugHelpers() {
304-
window.report = function report(params) { window.params = params; console.info(params); };
305-
}
306-
307293
/** force reload the live preview currently only with shortcut ctrl-shift-R */
308294
function _handleReloadLivePreviewCommand() {
309295
if (MultiBrowserLiveDev.status >= MultiBrowserLiveDev.STATUS_ACTIVE) {
@@ -425,10 +411,6 @@ define(function main(require, exports, module) {
425411
_setupGoLiveButton();
426412
_setupGoLiveMenu();
427413

428-
if (config.debug) {
429-
_setupDebugHelpers();
430-
}
431-
432414
remoteHighlightPref
433415
.on("change", function () {
434416
config.remoteHighlight = prefs.get(PREF_REMOTEHIGHLIGHT);

0 commit comments

Comments
 (0)