mirror of https://github.com/svaarala/duktape.git
Sami Vaarala
2 years ago
189 changed files with 585 additions and 1297 deletions
@ -0,0 +1,8 @@ |
|||||
|
# https://editorconfig.org/ |
||||
|
# |
||||
|
# Approximate configuration for the Duktape code base. |
||||
|
|
||||
|
# Don't trim trailing whitespace because some testcase expect values |
||||
|
# have trailing whitespace. |
||||
|
[*.js] |
||||
|
trim_trailing_whitespace = false |
@ -1,19 +1,10 @@ |
|||||
/*--- |
/*--- |
||||
{ |
custom: true |
||||
"custom": true |
|
||||
} |
|
||||
---*/ |
---*/ |
||||
|
|
||||
/*=== |
/*=== |
||||
NaN |
NaN |
||||
done |
|
||||
===*/ |
===*/ |
||||
|
|
||||
try { |
var val = CBOR.decode(new Uint8Array([ 0xfb, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 ])); |
||||
var val = CBOR.decode(new Uint8Array([ 0xfb, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 ])); |
print(val); |
||||
print(val); |
|
||||
} catch (e) { |
|
||||
print(e.stack || e); |
|
||||
} |
|
||||
|
|
||||
print('done'); |
|
||||
|
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue