Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "duktape-vm", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Javascript VM running in WebAssembly", | ||
@@ -5,0 +5,0 @@ "main": "build/ducktape-vm.js", |
@@ -23,3 +23,3 @@ # Duktape Javascript Virtual Machine | ||
vm.asyncEval(` | ||
vm.evalAsync(` | ||
setTimeout(function() { | ||
@@ -62,9 +62,9 @@ _success("hello, " + args[0]); | ||
<!-- Webassembly Only Version (Fast with 75% browser support), 110KB --> | ||
<script src="https://cdn.jsdelivr.net/npm/duktape-vm@0.1.2/build/duktape-vm.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/duktape-vm@0.1.3/build/duktape-vm.min.js"></script> | ||
<!-- AsmJS Only Version (Slower with 95% browser support), 115KB --> | ||
<script src="https://cdn.jsdelivr.net/npm/duktape-vm@0.1.2/build/duktape-vm.min.asm.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/duktape-vm@0.1.3/build/duktape-vm.min.asm.js"></script> | ||
<!-- Webassembly with AsmJS fallback (Fast with 95% browser support), 220KB --> | ||
<script src="https://cdn.jsdelivr.net/npm/duktape-vm@0.1.2/build/duktape-vm.min.both.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/duktape-vm@0.1.3/build/duktape-vm.min.both.js"></script> | ||
``` | ||
@@ -123,3 +123,3 @@ | ||
// use _success and _error as callbacks | ||
vm.asyncEval(` | ||
vm.evalAsync(` | ||
setTimeout(function() { | ||
@@ -137,3 +137,3 @@ | ||
// arguments are passed in as "args" array | ||
vm.asyncEval(` | ||
vm.evalAsync(` | ||
setTimeout(function() { | ||
@@ -140,0 +140,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package