Replace Util.extendObj by Object.assign

This commit is contained in:
Tim van der Meij 2018-06-10 19:59:03 +02:00
parent 0e0fa489dd
commit af8e88d00b
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762
5 changed files with 14 additions and 14 deletions

View file

@ -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);
};