Named exports from ol/easing

This commit is contained in:
Frederic Junod
2017-12-14 08:42:36 +01:00
parent e2c9175f6d
commit 061e0b6618
12 changed files with 44 additions and 46 deletions

View File

@@ -3,7 +3,7 @@
*/
import {inherits} from './index.js';
import _ol_TileState_ from './TileState.js';
import _ol_easing_ from './easing.js';
import {easeIn} from './easing.js';
import _ol_events_EventTarget_ from './events/EventTarget.js';
import _ol_events_EventType_ from './events/EventType.js';
@@ -203,7 +203,7 @@ _ol_Tile_.prototype.getAlpha = function(id, time) {
if (delta >= this.transition_) {
return 1;
}
return _ol_easing_.easeIn(delta / this.transition_);
return easeIn(delta / this.transition_);
};
/**