Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: polymer_0.5.4/bower_components/web-animations-js/src/tick.js

Issue 895523005: Added Polymer 0.5.4 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698