Skip to content

Commit

Permalink
src: remove duplicate byteLength from Buffer
Browse files Browse the repository at this point in the history
Commit 36a7795 introduced a duplicate Buffer byteLength property.

PR-URL: #1438
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
  • Loading branch information
JacksonTian authored and cjihrig committed Apr 16, 2015
1 parent 76f219c commit 62f5f4c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/node_buffer.cc
Expand Up @@ -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);
Expand Down

0 comments on commit 62f5f4c

Please sign in to comment.