Skip to content

Commit dd5b2fe

Browse files
committed
Bump to 2.0.3
* Fix an issue on browser
1 parent ff0ea0f commit dd5b2fe

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

js/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "interscript",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"description": "Interscript JS bindings",
55
"main": "./src/stdlib.js",
66
"repository": "git@github.com:interscript/interscript.git",

js/src/stdlib.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,3 +256,7 @@ Interscript.correct_boundaries();
256256
if (typeof module !== "undefined") {
257257
module.exports = Interscript;
258258
}
259+
260+
if (typeof window !== "undefined") {
261+
window.Interscript = Interscript;
262+
}

0 commit comments

Comments
 (0)