VM works in browser for simple examples.

This commit is contained in:
2015-04-13 22:50:30 -04:00
parent decf25ed29
commit bbd72c2111
3 changed files with 6 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ function getBytes(data) {
// Data contains our file, but we want it as a string
var string_data = data.toString();
console.log(string_data);
// Strip all the comments for easier parsing
var without_comments = string_data.replace(new RegExp("#.*", "gi"), "");