| Index: src/arraybuffer.js
|
| diff --git a/src/arraybuffer.js b/src/arraybuffer.js
|
| index 4a4f570146568464dfe8938502e9a827be60c6cd..c5c98dbe4bbeaa04fd2797af69442d4d28096910 100644
|
| --- a/src/arraybuffer.js
|
| +++ b/src/arraybuffer.js
|
| @@ -81,6 +81,10 @@ function ArrayBufferSlice(start, end) {
|
| return result;
|
| }
|
|
|
| +function ArrayBufferIsView(obj) {
|
| + return %ArrayBufferIsView(obj);
|
| +}
|
| +
|
| function SetUpArrayBuffer() {
|
| %CheckIsBootstrapping();
|
|
|
| @@ -93,6 +97,10 @@ function SetUpArrayBuffer() {
|
|
|
| InstallGetter($ArrayBuffer.prototype, "byteLength", ArrayBufferGetByteLength);
|
|
|
| + InstallFunctions($ArrayBuffer, DONT_ENUM, $Array(
|
| + "isView", ArrayBufferIsView
|
| + ));
|
| +
|
| InstallFunctions($ArrayBuffer.prototype, DONT_ENUM, $Array(
|
| "slice", ArrayBufferSlice
|
| ));
|
|
|