mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Add basic unit tests for obj.js.
This commit is contained in:
parent
f10a543080
commit
84d6a121af
2 changed files with 131 additions and 11 deletions
10
src/obj.js
10
src/obj.js
|
@ -8,8 +8,7 @@ var Name = (function NameClosure() {
|
|||
this.name = name;
|
||||
}
|
||||
|
||||
Name.prototype = {
|
||||
};
|
||||
Name.prototype = {};
|
||||
|
||||
return Name;
|
||||
})();
|
||||
|
@ -19,9 +18,7 @@ var Cmd = (function CmdClosure() {
|
|||
this.cmd = cmd;
|
||||
}
|
||||
|
||||
Cmd.prototype = {
|
||||
};
|
||||
|
||||
Cmd.prototype = {};
|
||||
|
||||
var cmdCache = {};
|
||||
|
||||
|
@ -80,8 +77,7 @@ var Ref = (function RefClosure() {
|
|||
this.gen = gen;
|
||||
}
|
||||
|
||||
Ref.prototype = {
|
||||
};
|
||||
Ref.prototype = {};
|
||||
|
||||
return Ref;
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue