This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sublime | |
import sublime_plugin | |
import os | |
import re | |
class ImportChildModulesCommand(sublime_plugin.TextCommand): | |
def replace_module_name(self, m): | |
return m.group(2).upper() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
// Check if the script is already loaded | |
if (document.getElementById("mrh-proxy-script")) { | |
console.log("Script already loaded, skipping..."); | |
return; | |
} | |
// Add a float button to the page to show that the script is running | |
var floatButton = document.createElement("div"); | |
floatButton.style.position = "fixed"; |
OlderNewer