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 <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
  • 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
Original file line number Diff line number Diff line change
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.