From dda4060d849712a3b120bd8479161293df43be37 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 27 Feb 2013 13:35:32 +0100 Subject: [PATCH 1/3] Export ol.animation.zoom --- src/ol/animation.exports | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ol/animation.exports b/src/ol/animation.exports index 98207b2e1a..4a8819704d 100644 --- a/src/ol/animation.exports +++ b/src/ol/animation.exports @@ -2,3 +2,4 @@ @exportProperty ol.animation.bounce @exportProperty ol.animation.pan @exportProperty ol.animation.rotate +@exportProperty ol.animation.zoom From 90cb0e8fcb00c89b43c9f76500ba57c57c06a4ac Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 27 Feb 2013 13:52:39 +0100 Subject: [PATCH 2/3] Export ol.easing.* --- src/ol/easing.exports | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/ol/easing.exports diff --git a/src/ol/easing.exports b/src/ol/easing.exports new file mode 100644 index 0000000000..62418771ad --- /dev/null +++ b/src/ol/easing.exports @@ -0,0 +1,5 @@ +@exportSymbol ol.easing +@exportProperty ol.easing.linear +@exportProperty ol.easing.upAndDown +@exportProperty ol.easing.elastic +@exportProperty ol.easing.bounce From 5ccf94a395035872030dfcdea8e27e9141f2e966 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 27 Feb 2013 13:58:30 +0100 Subject: [PATCH 3/3] Do not use goog.now() in the examples (see #229) --- examples/side-by-side.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/side-by-side.js b/examples/side-by-side.js index b5d108b0df..661d1ebb79 100644 --- a/examples/side-by-side.js +++ b/examples/side-by-side.js @@ -131,7 +131,7 @@ keyboardInteraction.addCallback('l', function() { view.setCenter(LONDON); }); keyboardInteraction.addCallback('L', function() { - var start = goog.now(); + var start = +new Date(); var duration = 5000; var bounce = ol.animation.bounce({ resolution: 2 * view.getResolution(), @@ -166,7 +166,7 @@ keyboardInteraction.addCallback('m', function() { view.setCenter(MOSCOW); }); keyboardInteraction.addCallback('M', function() { - var start = goog.now(); + var start = +new Date(); var duration = 5000; var bounce = ol.animation.bounce({ resolution: 2 * view.getResolution(),