web: Don't require Parser.init to be called immediately
This commit is contained in:
parent
e195f27d68
commit
1cef6d4550
2 changed files with 7 additions and 12 deletions
|
|
@ -3,8 +3,6 @@
|
|||
define([], factory);
|
||||
} else if (typeof exports === 'object') {
|
||||
module.exports = factory();
|
||||
// module.exports.init();
|
||||
// delete module.exports.init;
|
||||
} else {
|
||||
window.TreeSitter = factory();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue