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

Unified Diff: polymer_0.5.4/bower_components/web-animations-js/test/js/number-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/number-handler.js
diff --git a/polymer_0.5.0/bower_components/web-animations-js/test/js/number-handler.js b/polymer_0.5.4/bower_components/web-animations-js/test/js/number-handler.js
similarity index 50%
copy from polymer_0.5.0/bower_components/web-animations-js/test/js/number-handler.js
copy to polymer_0.5.4/bower_components/web-animations-js/test/js/number-handler.js
index ba4e5c12a9798402f5b5502004928c63b49786fb..0b42c30d6e261932d23250441003d7acdd8384cb 100644
--- a/polymer_0.5.0/bower_components/web-animations-js/test/js/number-handler.js
+++ b/polymer_0.5.4/bower_components/web-animations-js/test/js/number-handler.js
@@ -16,19 +16,19 @@ suite('number-handler', function() {
'-12.34': -12.34,
};
for (var string in tests) {
- assert.equal(webAnimationsMinifill.parseNumber(string), tests[string], 'Parsing "' + string + '"');
+ assert.equal(webAnimations1.parseNumber(string), tests[string], 'Parsing "' + string + '"');
}
});
test('invalid numbers fail to parse', function() {
- assert.isUndefined(webAnimationsMinifill.parseNumber(''));
- assert.isUndefined(webAnimationsMinifill.parseNumber('nine'));
- assert.isUndefined(webAnimationsMinifill.parseNumber('1 2'));
- assert.isUndefined(webAnimationsMinifill.parseNumber('+-0'));
- assert.isUndefined(webAnimationsMinifill.parseNumber('50px'));
- assert.isUndefined(webAnimationsMinifill.parseNumber('1.2.3'));
+ assert.isUndefined(webAnimations1.parseNumber(''));
+ assert.isUndefined(webAnimations1.parseNumber('nine'));
+ assert.isUndefined(webAnimations1.parseNumber('1 2'));
+ assert.isUndefined(webAnimations1.parseNumber('+-0'));
+ assert.isUndefined(webAnimations1.parseNumber('50px'));
+ assert.isUndefined(webAnimations1.parseNumber('1.2.3'));
});
test('opacity clamping', function() {
- var interpolation = webAnimationsMinifill.propertyInterpolation('opacity', '0', '1');
+ var interpolation = webAnimations1.propertyInterpolation('opacity', '0', '1');
assert.equal(interpolation(-1), '0');
assert.equal(interpolation(2), '1');
});

Powered by Google App Engine
This is Rietveld 408576698