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.
This commit is contained in:
Ricardo Ambrogi 2018-10-13 19:34:59 +02:00 committed by GitHub
parent 95872c9b82
commit 2428149f99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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] = {