diff options
author | Jackson Tian <puling.tyq@alibaba-inc.com> | 2015-04-16 13:44:17 +0800 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2015-04-16 11:14:32 -0400 |
commit | 62f5f4cec942864d1cd21ef31bf650ddca874093 (patch) | |
tree | 9edd1c7407406107e3868721f820e6d4d38a3c18 | |
parent | 76f219c128ea729972226c064e79f9b3aa494eff (diff) | |
download | node-new-62f5f4cec942864d1cd21ef31bf650ddca874093.tar.gz |
src: remove duplicate byteLength from Buffer
Commit 36a77956 introduced a duplicate Buffer byteLength property.
PR-URL: https://github.com/iojs/io.js/pull/1438
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
-rw-r--r-- | src/node_buffer.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_buffer.cc b/src/node_buffer.cc index 7e2096eb1f..61b80c622a 100644 --- a/src/node_buffer.cc +++ b/src/node_buffer.cc @@ -746,7 +746,6 @@ void Initialize(Handle<Object> target, env->SetMethod(target, "setupBufferJS", SetupBufferJS); env->SetMethod(target, "byteLength", ByteLength); - env->SetMethod(target, "byteLength", ByteLength); env->SetMethod(target, "compare", Compare); env->SetMethod(target, "fill", Fill); env->SetMethod(target, "indexOfBuffer", IndexOfBuffer); |