mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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>
This commit is contained in:
1 parent
76f219c128
commit
62f5f4cec9
1 file changed
-1
@@ -745,7 +745,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);
|
||||
|
||||
Reference in new issue
Block a user