Skip to content

Commit 4a2fd7b

Browse files
committed
small changes to avoid uglifyjs issue
1 parent b79f471 commit 4a2fd7b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build/artoolkit.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/artoolkit_wasm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/artoolkit.api.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
scope = window;
77
} else {
88
scope = self;
9-
}
9+
};
1010
if (scope.artoolkit_wasm_url) {
11-
function downloadWasm(url) {
11+
var downloadWasm = function(url) {
1212
return new Promise(function (resolve, reject) {
1313
var wasmXHR = new XMLHttpRequest();
1414
wasmXHR.open('GET', url, true);
@@ -17,7 +17,7 @@
1717
wasmXHR.onerror = function () { reject('error ' + wasmXHR.status); }
1818
wasmXHR.send(null);
1919
});
20-
}
20+
};
2121

2222
var wasm = downloadWasm(scope.artoolkit_wasm_url);
2323

0 commit comments

Comments
 (0)