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

Unified Diff: polymer_0.5.4/bower_components/web-animations-js/Gruntfile.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/Gruntfile.js
diff --git a/polymer_0.5.0/bower_components/web-animations-js/Gruntfile.js b/polymer_0.5.4/bower_components/web-animations-js/Gruntfile.js
similarity index 91%
copy from polymer_0.5.0/bower_components/web-animations-js/Gruntfile.js
copy to polymer_0.5.4/bower_components/web-animations-js/Gruntfile.js
index 3614a412b20c9d8affee43c824a6750ae3e817a5..5fad55838a903928322bd4a4ca0757626e0a62d6 100644
--- a/polymer_0.5.0/bower_components/web-animations-js/Gruntfile.js
+++ b/polymer_0.5.4/bower_components/web-animations-js/Gruntfile.js
@@ -102,31 +102,31 @@ module.exports = function(grunt) {
WEB_ANIMATIONS_TESTING: false
};
- function buildMinifill(target) {
+ function buildWebAnimations1(target) {
var config = targetConfig[target];
return genTarget(target).concat([
- concat(config.scopeSrc.concat(config.sharedSrc).concat(config.minifillSrc), 'inter-raw-' + target + '.js', concatDefines),
+ concat(config.scopeSrc.concat(config.sharedSrc).concat(config.webAnimations1Src), 'inter-raw-' + target + '.js', concatDefines),
guard('inter-raw-' + target + '.js', 'inter-' + target + '.js'),
compress('inter-' + target + '.js', target + '.min.js', concatDefines)
]);
}
- function buildMaxifill(target) {
+ function buildWebAnimationsNext(target) {
var config = targetConfig[target];
return genTarget(target).concat([
concat(config.scopeSrc.concat(config.sharedSrc), 'inter-' + target + '-preamble.js', concatDefines),
- concat(config.minifillSrc, 'inter-component-' + target + 'minifill.js', concatDefines),
- guard('inter-component-' + target + 'minifill.js', 'inter-guarded-' + target + '-minifill.js'),
- concat(config.maxifillSrc, 'inter-component-' + target + '.js', concatDefines),
- concatWithMaps(['inter-' + target + '-preamble.js', 'inter-guarded-' + target + '-minifill.js', 'inter-component-' + target + '.js'],
+ concat(config.webAnimations1Src, 'inter-component-' + target + 'web-animations-1.js', concatDefines),
+ guard('inter-component-' + target + 'web-animations-1.js', 'inter-guarded-' + target + '-web-animations-1.js'),
+ concat(config.webAnimationsNextSrc, 'inter-component-' + target + '.js', concatDefines),
+ concatWithMaps(['inter-' + target + '-preamble.js', 'inter-guarded-' + target + '-web-animations-1.js', 'inter-component-' + target + '.js'],
'inter-' + target + '.js'),
compress('inter-' + target + '.js', target + '.min.js', concatDefines)
]);
}
- grunt.registerTask('web-animations', buildMinifill('web-animations'));
- grunt.registerTask('web-animations-next', buildMaxifill('web-animations-next'));
- grunt.registerTask('web-animations-next-lite', buildMaxifill('web-animations-next-lite'));
+ grunt.registerTask('web-animations', buildWebAnimations1('web-animations'));
+ grunt.registerTask('web-animations-next', buildWebAnimationsNext('web-animations-next'));
+ grunt.registerTask('web-animations-next-lite', buildWebAnimationsNext('web-animations-next-lite'));
var testTargets = {'web-animations': {}, 'web-animations-next': {}};
« no previous file with comments | « polymer_0.5.4/bower_components/web-animations-js/COPYING ('k') | polymer_0.5.4/bower_components/web-animations-js/History.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698