mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Replace Util.extendObj
by Object.assign
This commit is contained in:
parent
0e0fa489dd
commit
af8e88d00b
5 changed files with 14 additions and 14 deletions
|
@ -578,10 +578,9 @@ var renderTextLayer = (function renderTextLayerClosure() {
|
|||
return;
|
||||
}
|
||||
|
||||
Util.extendObj(styleCache, value.styles);
|
||||
Object.assign(styleCache, value.styles);
|
||||
this._processItems(value.items, styleCache);
|
||||
pump();
|
||||
|
||||
}, capability.reject);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue