ignore #! in the js worker
This commit is contained in:
parent
89963dedac
commit
c9f3abb199
2 changed files with 11 additions and 7 deletions
|
|
@ -16,6 +16,7 @@ oop.inherits(JavaScriptWorker, Mirror);
|
|||
|
||||
this.onUpdate = function() {
|
||||
var value = this.doc.getValue();
|
||||
value = value.replace(/^#!.*\n/, "");
|
||||
|
||||
// var start = new Date();
|
||||
var parser = require("ace/narcissus/jsparse");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue