提交 98bb376b 编写于 作者: L Lazar Laszlo

corrected Length to length

上级 10cfeb3d
......@@ -44,7 +44,7 @@ function ErrorCorrectionLevel(ordinal, bits, name)
ErrorCorrectionLevel.forBits=function( bits)
{
if (bits < 0 || bits >= FOR_BITS.Length)
if (bits < 0 || bits >= FOR_BITS.length)
{
throw "ArgumentException";
}
......@@ -55,4 +55,4 @@ var L = new ErrorCorrectionLevel(0, 0x01, "L");
var M = new ErrorCorrectionLevel(1, 0x00, "M");
var Q = new ErrorCorrectionLevel(2, 0x03, "Q");
var H = new ErrorCorrectionLevel(3, 0x02, "H");
var FOR_BITS = new Array( M, L, H, Q);
\ No newline at end of file
var FOR_BITS = new Array( M, L, H, Q);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册