Sfoglia il codice sorgente

Remove commented code

Commented code should be avoided. There are more downsides then upsides on keeping it. If this piece of code is needed in the future, `git diff` is a better option.
Ricardo Ambrogi 6 anni fa
parent
commit
2428149f99
1 ha cambiato i file con 0 aggiunte e 8 eliminazioni
  1. 0 8
      website/monarch/monarch.js

+ 0 - 8
website/monarch/monarch.js

@@ -84,14 +84,6 @@ function readSamples(sampleSelect) {
 
 		var languageId = 'monarch-language-' + id;
 
-		// monaco.languages.register({ id: languageId });
-
-		// var langModel = monaco.editor.createModel(getTextFromId(id), 'javascript');
-		// var update = function() {
-		// 	console.log()
-		// };
-		// langModel.onDidChangeContent(update);
-
 		var sampleText = getTextFromId(id + "-sample");
 
 		samples[id] = {