Skip to content

Commit b7ddbae

Browse files
committed
Merge pull request #263 from rjwright/RenameScopes
Remove "minifill" and "maxifill" naming
2 parents ffc7635 + 9a46664 commit b7ddbae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+247
-247
lines changed

Gruntfile.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -102,31 +102,31 @@ module.exports = function(grunt) {
102102
WEB_ANIMATIONS_TESTING: false
103103
};
104104

105-
function buildMinifill(target) {
105+
function buildWebAnimations1(target) {
106106
var config = targetConfig[target];
107107
return genTarget(target).concat([
108-
concat(config.scopeSrc.concat(config.sharedSrc).concat(config.minifillSrc), 'inter-raw-' + target + '.js', concatDefines),
108+
concat(config.scopeSrc.concat(config.sharedSrc).concat(config.webAnimations1Src), 'inter-raw-' + target + '.js', concatDefines),
109109
guard('inter-raw-' + target + '.js', 'inter-' + target + '.js'),
110110
compress('inter-' + target + '.js', target + '.min.js', concatDefines)
111111
]);
112112
}
113113

114-
function buildMaxifill(target) {
114+
function buildWebAnimationsNext(target) {
115115
var config = targetConfig[target];
116116
return genTarget(target).concat([
117117
concat(config.scopeSrc.concat(config.sharedSrc), 'inter-' + target + '-preamble.js', concatDefines),
118-
concat(config.minifillSrc, 'inter-component-' + target + 'minifill.js', concatDefines),
119-
guard('inter-component-' + target + 'minifill.js', 'inter-guarded-' + target + '-minifill.js'),
120-
concat(config.maxifillSrc, 'inter-component-' + target + '.js', concatDefines),
121-
concatWithMaps(['inter-' + target + '-preamble.js', 'inter-guarded-' + target + '-minifill.js', 'inter-component-' + target + '.js'],
118+
concat(config.webAnimations1Src, 'inter-component-' + target + 'web-animations-1.js', concatDefines),
119+
guard('inter-component-' + target + 'web-animations-1.js', 'inter-guarded-' + target + '-web-animations-1.js'),
120+
concat(config.webAnimationsNextSrc, 'inter-component-' + target + '.js', concatDefines),
121+
concatWithMaps(['inter-' + target + '-preamble.js', 'inter-guarded-' + target + '-web-animations-1.js', 'inter-component-' + target + '.js'],
122122
'inter-' + target + '.js'),
123123
compress('inter-' + target + '.js', target + '.min.js', concatDefines)
124124
]);
125125
}
126126

127-
grunt.registerTask('web-animations', buildMinifill('web-animations'));
128-
grunt.registerTask('web-animations-next', buildMaxifill('web-animations-next'));
129-
grunt.registerTask('web-animations-next-lite', buildMaxifill('web-animations-next-lite'));
127+
grunt.registerTask('web-animations', buildWebAnimations1('web-animations'));
128+
grunt.registerTask('web-animations-next', buildWebAnimationsNext('web-animations-next'));
129+
grunt.registerTask('web-animations-next-lite', buildWebAnimationsNext('web-animations-next-lite'));
130130

131131
var testTargets = {'web-animations': {}, 'web-animations-next': {}};
132132

src/animation-constructor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,4 @@
141141

142142
scope.groupChildDuration = groupChildDuration;
143143

144-
}(webAnimationsShared, webAnimationsMaxifill, webAnimationsTesting));
144+
}(webAnimationsShared, webAnimationsNext, webAnimationsTesting));

src/animation-node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
return animationNode;
2929
};
3030

31-
})(webAnimationsShared, webAnimationsMinifill);
31+
})(webAnimationsShared, webAnimations1);

src/animation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
};
6060

6161
if (WEB_ANIMATIONS_TESTING) {
62-
testing.minifillAnimation = scope.Animation;
62+
testing.webAnimations1Animation = scope.Animation;
6363
}
6464

65-
})(webAnimationsShared, webAnimationsMinifill, webAnimationsTesting);
65+
})(webAnimationsShared, webAnimations1, webAnimationsTesting);

src/apply-preserving-inline-style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,4 @@
189189
if (WEB_ANIMATIONS_TESTING)
190190
testing.ensureStyleIsPatched = ensureStyleIsPatched;
191191

192-
})(webAnimationsMinifill, webAnimationsTesting);
192+
})(webAnimations1, webAnimationsTesting);

src/apply.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
element.style[scope.propertyName(property)] = '';
2323
};
2424

25-
})(webAnimationsMinifill, webAnimationsTesting);
25+
})(webAnimations1, webAnimationsTesting);

src/box-handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@
5454

5555
scope.addPropertiesHandler(parseBox, mergeBoxes, ['clip']);
5656

57-
})(webAnimationsMinifill, webAnimationsTesting);
57+
})(webAnimations1, webAnimationsTesting);

src/color-handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@
5959
testing.parseColor = parseColor;
6060
}
6161

62-
})(webAnimationsMinifill, webAnimationsTesting);
62+
})(webAnimations1, webAnimationsTesting);

src/dimension-handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,4 +164,4 @@
164164
'word-spacing',
165165
]);
166166

167-
})(webAnimationsMinifill, webAnimationsTesting);
167+
})(webAnimations1, webAnimationsTesting);

src/effect-callback.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@
8383
register(this._callback);
8484
};
8585

86-
})(webAnimationsShared, webAnimationsMaxifill, webAnimationsTesting);
86+
})(webAnimationsShared, webAnimationsNext, webAnimationsTesting);

0 commit comments

Comments
 (0)