Named exports from ol/obj

This commit is contained in:
Frederic Junod
2018-01-16 14:14:17 +01:00
parent 40f97eed85
commit 31e30d28b7
60 changed files with 174 additions and 183 deletions

View File

@@ -5,7 +5,7 @@ import {getUid, inherits} from './index.js';
import ObjectEventType from './ObjectEventType.js';
import Observable from './Observable.js';
import Event from './events/Event.js';
import _ol_obj_ from './obj.js';
import {assign} from './obj.js';
/**
* @classdesc
@@ -124,7 +124,7 @@ BaseObject.prototype.getKeys = function() {
* @api
*/
BaseObject.prototype.getProperties = function() {
return _ol_obj_.assign({}, this.values_);
return assign({}, this.values_);
};