diff --git a/src/LiveDevelopment/BrowserScripts/RemoteFunctions.js b/src/LiveDevelopment/BrowserScripts/RemoteFunctions.js index b89715a76..874bc7929 100644 --- a/src/LiveDevelopment/BrowserScripts/RemoteFunctions.js +++ b/src/LiveDevelopment/BrowserScripts/RemoteFunctions.js @@ -26,10 +26,8 @@ function RemoteFunctions(config = {}) { __description: "Use this to keep shared state for Live Preview Edit instead of window.*" }; - let _localHighlight; let _hoverHighlight; let _clickHighlight; - let _setup = false; let _hoverLockTimer = null; // this will store the element that was clicked previously (before the new click) @@ -185,16 +183,6 @@ function RemoteFunctions(config = {}) { // the below code comment is replaced by added scripts for extensibility // DONT_STRIP_MINIFY:REPLACE_WITH_ADDED_REMOTE_CONSTANT_SCRIPTS - // determine whether an event should be processed for Live Development - function _validEvent(event) { - if (window.navigator.platform.substr(0, 3) === "Mac") { - // Mac - return event.metaKey; - } - // Windows - return event.ctrlKey; - } - // helper function to check if an element is inside the HEAD tag // we need this because we don't wanna trigger the element highlights on head tag and its children, // except for