Use per-animation function modules

Currently the animation functions share the same module, namely ol.animation. We do differently for ol.control.defaults and ol.interaction.defaults, with ol.control.defaults and ol.interaction.defaults module. This commit replaces the ol.animation module by four modules, one for each animation function.

This makes things more consistent, and will make it possible to use the @exportFunction annotation for the exporting of the animation functions.
This commit is contained in:
Éric Lemoine
2013-08-19 14:08:57 +02:00
parent a37f114e4b
commit 77adbdfa7a
6 changed files with 13 additions and 6 deletions

View File

@@ -1,7 +1,9 @@
goog.require('ol.Map');
goog.require('ol.RendererHints');
goog.require('ol.View2D');
goog.require('ol.animation');
goog.require('ol.animation.bounce');
goog.require('ol.animation.pan');
goog.require('ol.animation.rotate');
goog.require('ol.easing');
goog.require('ol.layer.TileLayer');
goog.require('ol.proj');