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

Unified Diff: polymer_0.5.4/bower_components/web-animations-js/test/js/color-handler.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/test/js/color-handler.js
diff --git a/polymer_0.5.0/bower_components/web-animations-js/test/js/color-handler.js b/polymer_0.5.4/bower_components/web-animations-js/test/js/color-handler.js
similarity index 57%
copy from polymer_0.5.0/bower_components/web-animations-js/test/js/color-handler.js
copy to polymer_0.5.4/bower_components/web-animations-js/test/js/color-handler.js
index 5689516e1139d8696177ac402e9cb451dd86849a..3cebf6167bde52ec49dce0a831d9950dd935f68c 100644
--- a/polymer_0.5.0/bower_components/web-animations-js/test/js/color-handler.js
+++ b/polymer_0.5.4/bower_components/web-animations-js/test/js/color-handler.js
@@ -14,10 +14,10 @@ suite('color-handler', function() {
assert.isUndefined(parseColor('rgb(10, 20, 30, 40)'));
});
test('color interpolation', function() {
- assert.equal(webAnimationsMinifill.propertyInterpolation('color', '#00aa11', '#aa00bb')(0.2), 'rgba(34,136,51,1)');
- assert.equal(webAnimationsMinifill.propertyInterpolation('color', 'transparent', '#004488')(0), 'transparent');
- assert.equal(webAnimationsMinifill.propertyInterpolation('color', 'transparent', '#004488')(0.5), 'rgba(0,68,136,0.500)');
- assert.equal(webAnimationsMinifill.propertyInterpolation('color', 'red', 'green')(2), 'rgba(0,255,0,1)');
- assert.equal(webAnimationsMinifill.propertyInterpolation('color', 'red', 'green')(-1), 'rgba(255,0,0,1)');
+ assert.equal(webAnimations1.propertyInterpolation('color', '#00aa11', '#aa00bb')(0.2), 'rgba(34,136,51,1)');
+ assert.equal(webAnimations1.propertyInterpolation('color', 'transparent', '#004488')(0), 'transparent');
+ assert.equal(webAnimations1.propertyInterpolation('color', 'transparent', '#004488')(0.5), 'rgba(0,68,136,0.500)');
+ assert.equal(webAnimations1.propertyInterpolation('color', 'red', 'green')(2), 'rgba(0,255,0,1)');
+ assert.equal(webAnimations1.propertyInterpolation('color', 'red', 'green')(-1), 'rgba(255,0,0,1)');
});
});

Powered by Google App Engine
This is Rietveld 408576698