40
edits
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
:* Daniel Friesen (MonkeyScript will provide global Blob whether it is standard or a non-standard addition) | :* Daniel Friesen (MonkeyScript will provide global Blob whether it is standard or a non-standard addition) | ||
:D) Blob as global and Buffer in require('io'); | :D) Blob as global and Buffer in require('io'); | ||
---- | |||
Method parameter preference for new methods (methods based on existing js methods will keep the same parameters. | Method parameter preference for new methods (methods based on existing js methods will keep the same parameters. | ||
:A) offset, length (used in .splice .substr) | :A) offset, length (used in .splice .substr) | ||
| Line 20: | Line 20: | ||
:A) Leave blob[idx] out of the standard (easier to implement in js-only rhino) | :A) Leave blob[idx] out of the standard (easier to implement in js-only rhino) | ||
:B) Require implementations to implement blob[idx] (Array (and string?) methods will work on blobs) | :B) Require implementations to implement blob[idx] (Array (and string?) methods will work on blobs) | ||
---- | |||
Property used on String, Blob, Buffer, Streams, and so on to refer to the mode it is running in (binary or text) by returning the String or the Blob constructor. (If you can think of a better name, just add a new item) | Property used on String, Blob, Buffer, Streams, and so on to refer to the mode it is running in (binary or text) by returning the String or the Blob constructor. (If you can think of a better name, just add a new item) | ||
:A) Content | :A) Content | ||
edits