| Index: mojo/public/js/new_bindings/buffer.js
|
| diff --git a/mojo/public/js/new_bindings/buffer.js b/mojo/public/js/new_bindings/buffer.js
|
| index e35f69513fb85b0c5be70c7e78fc4fb18c9e88a0..7c0853c107d398d871fae7ab3a65fec32d26ba22 100644
|
| --- a/mojo/public/js/new_bindings/buffer.js
|
| +++ b/mojo/public/js/new_bindings/buffer.js
|
| @@ -2,7 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -define("mojo/public/js/buffer", function() {
|
| +(function() {
|
| + var internal = mojoBindings.internal;
|
|
|
| var kHostIsLittleEndian = (function () {
|
| var endianArrayBuffer = new ArrayBuffer(2);
|
| @@ -150,7 +151,5 @@ define("mojo/public/js/buffer", function() {
|
| this.dataView.setFloat64(offset, value, kHostIsLittleEndian);
|
| }
|
|
|
| - var exports = {};
|
| - exports.Buffer = Buffer;
|
| - return exports;
|
| -});
|
| + internal.Buffer = Buffer;
|
| +})();
|
|
|