projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76f219c
)
src: remove duplicate byteLength from Buffer
author
Jackson Tian
<puling.tyq@alibaba-inc.com>
Thu, 16 Apr 2015 05:44:17 +0000
(13:44 +0800)
committer
cjihrig
<cjihrig@gmail.com>
Thu, 16 Apr 2015 15:14:32 +0000
(11:14 -0400)
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>
src/node_buffer.cc
patch
|
blob
|
history
diff --git
a/src/node_buffer.cc
b/src/node_buffer.cc
index
7e2096e
..
61b80c6
100644
(file)
--- 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);