Closed bierdok closed 6 years ago
+1
+1 +1 +1 +1
this project seems abandoned... several issues unfixed.
In findpat.js, there is a line:
this.possibleCenters.remove(i);
which needs to be modified to:
this.possibleCenters.splice(i, 1);
I think that this line is why the Array.prototype.remove was added. In the Java original sources, in zxing/qrcode/detector/FinderPatternFinder.java, possibleCenters is a List and the remove(int i) method on a list removes the item at offset i.
beware, for example this function becomes an array element in firefox. if it is really necessary, don't declare on a native object. moreover, I don't see the usefulness of this function in this project.