Browse Source

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 years ago
parent
commit
2428149f99
1 changed files with 0 additions and 8 deletions
  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] = {