MCPcopy Create free account
hub / github.com/LazarSoft/jsqrcode / ErrorCorrectionLevel

Function ErrorCorrectionLevel

src/errorlevel.js:26–43  ·  view source on GitHub ↗
(ordinal,  bits, name)

Source from the content-addressed store, hash-verified

24
25
26function ErrorCorrectionLevel(ordinal, bits, name)
27{
28 this.ordinal_Renamed_Field = ordinal;
29 this.bits = bits;
30 this.name = name;
31 this.__defineGetter__("Bits", function()
32 {
33 return this.bits;
34 });
35 this.__defineGetter__("Name", function()
36 {
37 return this.name;
38 });
39 this.ordinal=function()
40 {
41 return this.ordinal_Renamed_Field;
42 }
43}
44
45ErrorCorrectionLevel.forBits=function( bits)
46{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected