mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Replaces literal {} created lookup tables with Object.create
This commit is contained in:
parent
d6adf84159
commit
2edf2792dc
18 changed files with 106 additions and 104 deletions
|
@ -39,7 +39,7 @@ var CustomStyle = (function CustomStyleClosure() {
|
|||
// in some versions of IE9 it is critical that ms appear in this list
|
||||
// before Moz
|
||||
var prefixes = ['ms', 'Moz', 'Webkit', 'O'];
|
||||
var _cache = {};
|
||||
var _cache = Object.create(null);
|
||||
|
||||
function CustomStyle() {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue