Sami Vaarala
e0b793c991
Polyfills for error .fileName etc writing behavior
- One polyfill to ensure Duktape 1.3.0 behavior
- One polyfill to ensure Duktape 1.4.0 behavior
If the write behavior change is an issue, you can use the first polyfill
to bring back Duktape 1.3.0 behavior.
9 years ago
Sami Vaarala
3fbd785183
Fix isFastint polyfill for new tag numbers
The new fastint detection works for both old and new packed boolean tag
(0xfff4 in Duktape 1.3.0, 0xfff5 now).
9 years ago
Sami Vaarala
af696adec5
Remove Ditz issue references
9 years ago
Sami Vaarala
38c4411e23
Polyfill ES6 ref updates
9 years ago
Sami Vaarala
eced78384c
Improve console polyfill String coercion
10 years ago
Sami Vaarala
4d0a946f9c
Add Duktape.isFastint() polyfill
10 years ago
Sami Vaarala
5702351e03
Polyfill comment updates
10 years ago
Sami Vaarala
9d5ac371b8
Add RegExp.prototype.compile() polyfill
10 years ago
Sami Vaarala
430ccc8994
Add Performance.now() polyfill
More or less untested.
10 years ago
Sami Vaarala
03e61ebc61
Add Object.assign polyfill
More or less untested.
10 years ago
Sami Vaarala
ef6e3c7baf
Make polyfill functions non-enumerable
It's a common expectation that Object.prototype methods in particular
are not enumerable so that they don't participate in e.g. for-in loops.
10 years ago
Sami Vaarala
8ed4352286
Polyfill trivia: add semicolons
10 years ago
Sami Vaarala
36a1f8bec4
Add a few polyfill files users may want to use
10 years ago