mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:36:22 -04:00
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 () {
|