mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-16 02:16:27 -04:00
* Move rust binding: lib/binding -> lib/binding_rust * Move wasm bindinig: lib/web -> lib/binding_web * Add wasm readme
12 lines
318 B
JavaScript
12 lines
318 B
JavaScript
(function (root, factory) {
|
|
if (typeof define === 'function' && define.amd) {
|
|
define([], factory);
|
|
} else if (typeof exports === 'object') {
|
|
module.exports = factory();
|
|
// module.exports.init();
|
|
// delete module.exports.init;
|
|
} else {
|
|
window.TreeSitter = factory();
|
|
}
|
|
}(this, function () {
|