Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

Commit

Permalink
wasbt output added
Browse files Browse the repository at this point in the history
1.0.3-beta dist files
  • Loading branch information
nidin committed Jun 19, 2017
1 parent 97c999b commit cd346fb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/turboscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -6779,7 +6779,7 @@ function compileString(source, options) {
return {
success: true,
wasm: compiler.outputWASM.array,
wast: "WebAssembly text format output is not yet supported!\nPlease check wasm binary data."
wast: compiler.outputWAST
};
}
else {
Expand All @@ -6793,7 +6793,7 @@ function compileString(source, options) {
}
}
exports.compileString = compileString;
exports.version = "1.0.2-beta";
exports.version = "1.0.3-beta";
exports.default = {
version: exports.version,
main: exports.main,
Expand Down
2 changes: 1 addition & 1 deletion lib/turboscript.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "turboscript",
"version": "1.0.2-beta",
"version": "1.0.3-beta",
"description": "Super charged JavaScript for parallel programming and WebAssembly",
"main": "index.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/turboscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export function compileString(source: string, options: CompilerOptions = default
return {
success: true,
wasm: compiler.outputWASM.array,
wast: "WebAssembly text format output is not yet supported!\nPlease check wasm binary data."
wast: compiler.outputWAST
};
} else {
if (!options.silent || options.logError) {
Expand Down

0 comments on commit cd346fb

Please sign in to comment.