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:
Jackson Tian authored and cjihrig committed 2015-04-16 11:14:32 -04:00
1 parent 76f219c128
commit 62f5f4cec9
1 file changed
-1
-1
View File
@@ -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);