Index: polymer_0.5.4/bower_components/web-animations-js/src/tick.js |
diff --git a/polymer_0.5.0/bower_components/web-animations-js/src/tick.js b/polymer_0.5.4/bower_components/web-animations-js/src/tick.js |
similarity index 94% |
copy from polymer_0.5.0/bower_components/web-animations-js/src/tick.js |
copy to polymer_0.5.4/bower_components/web-animations-js/src/tick.js |
index c71ce7ff39a59695bd8f973108ef7301fa20130f..cbc7ff3ae9e49f5d93bc83c2a915e53b509cb625 100644 |
--- a/polymer_0.5.0/bower_components/web-animations-js/src/tick.js |
+++ b/polymer_0.5.4/bower_components/web-animations-js/src/tick.js |
@@ -50,7 +50,8 @@ |
function InternalTimeline() { |
this._players = []; |
- this.currentTime = window.performance ? performance.now() : 0; |
+ // Android 4.3 browser has window.performance, but not window.performance.now |
+ this.currentTime = window.performance && performance.now ? performance.now() : 0; |
}; |
InternalTimeline.prototype = { |
@@ -144,4 +145,4 @@ |
var timeline = new InternalTimeline(); |
scope.timeline = timeline; |
-})(webAnimationsShared, webAnimationsMinifill, webAnimationsTesting); |
+})(webAnimationsShared, webAnimations1, webAnimationsTesting); |