Ver Fonte

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 há 6 anos atrás
pai
commit
2428149f99
1 ficheiros alterados com 0 adições e 8 exclusões
  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;
 		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");
 		var sampleText = getTextFromId(id + "-sample");
 
 
 		samples[id] = {
 		samples[id] = {