Skip to content

Commit 5e372c5

Browse files
author
Carlos Bonilla
committed
Renamed #animator wrapper to #afl
1 parent 7fe59e7 commit 5e372c5

4 files changed

Lines changed: 86 additions & 82 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
###Version 1.0.0 (Nov 24, 2014)
22

33
- Initial release.
4+
5+
###Version 1.0.1 (Nov 24, 2014)
6+
7+
- #animator wrapper renamed to #afl.
8+
- Minor syntax improvements.

animate.less

Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* animate.less v1.0.0 | animateforless.com
2+
* animate.less v1.0.1 | animateforless.com
33
*
44
* -----------------------------------------------------------------------------
55
*
@@ -37,7 +37,7 @@
3737
// FUNCTIONS
3838
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
3939

40-
#animator {
40+
#afl {
4141

4242
// ----------------------------------------
4343
// INITIALIZERS
@@ -227,153 +227,153 @@
227227
// ATTENTION SEEKERS
228228
// ----------------------------------------
229229

230-
.bounce() { #animator.animation(bounce); #animator.transform-origin(center bottom); }
231-
.flash() { #animator.animation(flash); }
232-
.pulse() { #animator.animation(pulse); }
233-
.rubberBand() { #animator.animation(rubberBand); }
234-
.shake() { #animator.animation(shake); }
235-
.swing() { #animator.animation(swing); #animator.transform-origin(top center); }
236-
.tada() { #animator.animation(tada); }
237-
.wobble() { #animator.animation(wobble); }
230+
.bounce() { #afl.animation(bounce); #afl.transform-origin(center bottom); }
231+
.flash() { #afl.animation(flash); }
232+
.pulse() { #afl.animation(pulse); }
233+
.rubberBand() { #afl.animation(rubberBand); }
234+
.shake() { #afl.animation(shake); }
235+
.swing() { #afl.animation(swing); #afl.transform-origin(top center); }
236+
.tada() { #afl.animation(tada); }
237+
.wobble() { #afl.animation(wobble); }
238238

239239
// ----------------------------------------
240240
// BOUNCING ENTRANCES
241241
// ----------------------------------------
242242

243-
.bounceIn() { #animator.animation(bounceIn); #animator.duration(a;0.75s); }
244-
.bounceInDown() { #animator.animation(bounceInDown); }
245-
.bounceInLeft() { #animator.animation(bounceInLeft); }
246-
.bounceInRight() { #animator.animation(bounceInRight); }
247-
.bounceInUp() { #animator.animation(bounceInUp); }
243+
.bounceIn() { #afl.animation(bounceIn); #afl.duration(a;0.75s); }
244+
.bounceInDown() { #afl.animation(bounceInDown); }
245+
.bounceInLeft() { #afl.animation(bounceInLeft); }
246+
.bounceInRight() { #afl.animation(bounceInRight); }
247+
.bounceInUp() { #afl.animation(bounceInUp); }
248248

249249
// ----------------------------------------
250250
// BOUNCING EXITS
251251
// ----------------------------------------
252252

253-
.bounceOut() { #animator.animation(bounceOut); #animator.duration(a;0.75s); }
254-
.bounceOutDown() { #animator.animation(bounceOutDown); }
255-
.bounceOutLeft() { #animator.animation(bounceOutLeft); }
256-
.bounceOutRight() { #animator.animation(bounceOutRight); }
257-
.bounceOutUp() { #animator.animation(bounceOutUp); }
253+
.bounceOut() { #afl.animation(bounceOut); #afl.duration(a;0.75s); }
254+
.bounceOutDown() { #afl.animation(bounceOutDown); }
255+
.bounceOutLeft() { #afl.animation(bounceOutLeft); }
256+
.bounceOutRight() { #afl.animation(bounceOutRight); }
257+
.bounceOutUp() { #afl.animation(bounceOutUp); }
258258

259259
// ----------------------------------------
260260
// FADING ENTRANCES
261261
// ----------------------------------------
262262

263-
.fadeIn() { #animator.animation(fadeIn); }
264-
.fadeInDown() { #animator.animation(fadeInDown); }
265-
.fadeInDownBig() { #animator.animation(fadeInDownBig); }
266-
.fadeInLeft() { #animator.animation(fadeInLeft); }
267-
.fadeInLeftBig() { #animator.animation(fadeInLeftBig); }
268-
.fadeInRight() { #animator.animation(fadeInRight); }
269-
.fadeInRightBig() { #animator.animation(fadeInRightBig); }
270-
.fadeInUp() { #animator.animation(fadeInUp); }
271-
.fadeInUpBig() { #animator.animation(fadeInUpBig); }
263+
.fadeIn() { #afl.animation(fadeIn); }
264+
.fadeInDown() { #afl.animation(fadeInDown); }
265+
.fadeInDownBig() { #afl.animation(fadeInDownBig); }
266+
.fadeInLeft() { #afl.animation(fadeInLeft); }
267+
.fadeInLeftBig() { #afl.animation(fadeInLeftBig); }
268+
.fadeInRight() { #afl.animation(fadeInRight); }
269+
.fadeInRightBig() { #afl.animation(fadeInRightBig); }
270+
.fadeInUp() { #afl.animation(fadeInUp); }
271+
.fadeInUpBig() { #afl.animation(fadeInUpBig); }
272272

273273
// ----------------------------------------
274274
// FADING EXITS
275275
// ----------------------------------------
276276

277-
.fadeOut() { #animator.animation(fadeOut); }
278-
.fadeOutDown() { #animator.animation(fadeOutDown); }
279-
.fadeOutDownBig() { #animator.animation(fadeOutDownBig); }
280-
.fadeOutLeft() { #animator.animation(fadeOutLeft); }
281-
.fadeOutLeftBig() { #animator.animation(fadeOutLeftBig); }
282-
.fadeOutRight() { #animator.animation(fadeOutRight); }
283-
.fadeOutRightBig() { #animator.animation(fadeOutRightBig); }
284-
.fadeOutUp() { #animator.animation(fadeOutUp); }
285-
.fadeOutUpBig() { #animator.animation(fadeOutUpBig); }
277+
.fadeOut() { #afl.animation(fadeOut); }
278+
.fadeOutDown() { #afl.animation(fadeOutDown); }
279+
.fadeOutDownBig() { #afl.animation(fadeOutDownBig); }
280+
.fadeOutLeft() { #afl.animation(fadeOutLeft); }
281+
.fadeOutLeftBig() { #afl.animation(fadeOutLeftBig); }
282+
.fadeOutRight() { #afl.animation(fadeOutRight); }
283+
.fadeOutRightBig() { #afl.animation(fadeOutRightBig); }
284+
.fadeOutUp() { #afl.animation(fadeOutUp); }
285+
.fadeOutUpBig() { #afl.animation(fadeOutUpBig); }
286286

287287
// ----------------------------------------
288288
// FLIPPERS
289289
// ----------------------------------------
290290

291-
.flip() { #animator.animation(flip); #animator.backface-visibility(visible); }
292-
.flipInX() { #animator.animation(flipInX); #animator.backface-visibility(visible) !important; }
293-
.flipInY() { #animator.animation(flipInY); #animator.backface-visibility(visible) !important; }
294-
.flipOutX() { #animator.animation(flipOutX); #animator.backface-visibility(visible) !important; #animator.duration(a;0.75s); }
295-
.flipOutY() { #animator.animation(flipOutY); #animator.backface-visibility(visible) !important; #animator.duration(a;0.75s); }
291+
.flip() { #afl.animation(flip); #afl.backface-visibility(visible); }
292+
.flipInX() { #afl.animation(flipInX); #afl.backface-visibility(visible) !important; }
293+
.flipInY() { #afl.animation(flipInY); #afl.backface-visibility(visible) !important; }
294+
.flipOutX() { #afl.animation(flipOutX); #afl.backface-visibility(visible) !important; #afl.duration(a;0.75s); }
295+
.flipOutY() { #afl.animation(flipOutY); #afl.backface-visibility(visible) !important; #afl.duration(a;0.75s); }
296296

297297
// ----------------------------------------
298298
// LIGHTSPEED
299299
// ----------------------------------------
300300

301-
.lightSpeedIn() { #animator.animation(lightSpeedIn); #animator.timing(ease-out); }
302-
.lightSpeedOut() { #animator.animation(lightSpeedOut); #animator.timing(ease-in); }
301+
.lightSpeedIn() { #afl.animation(lightSpeedIn); #afl.timing(ease-out); }
302+
.lightSpeedOut() { #afl.animation(lightSpeedOut); #afl.timing(ease-in); }
303303

304304
// ----------------------------------------
305305
// ROTATING ENTRANCES
306306
// ----------------------------------------
307307

308-
.rotateIn() { #animator.animation(rotateIn); }
309-
.rotateInDownLeft() { #animator.animation(rotateInDownLeft); }
310-
.rotateInDownRight() { #animator.animation(rotateInDownRight); }
311-
.rotateInUpLeft() { #animator.animation(rotateInUpLeft); }
312-
.rotateInUpRight() { #animator.animation(rotateInUpRight); }
308+
.rotateIn() { #afl.animation(rotateIn); }
309+
.rotateInDownLeft() { #afl.animation(rotateInDownLeft); }
310+
.rotateInDownRight() { #afl.animation(rotateInDownRight); }
311+
.rotateInUpLeft() { #afl.animation(rotateInUpLeft); }
312+
.rotateInUpRight() { #afl.animation(rotateInUpRight); }
313313

314314
// ----------------------------------------
315315
// ROTATING EXITS
316316
// ----------------------------------------
317317

318-
.rotateOut() { #animator.animation(rotateOut); }
319-
.rotateOutDownLeft() { #animator.animation(rotateOutDownLeft); }
320-
.rotateOutDownRight() { #animator.animation(rotateOutDownRight); }
321-
.rotateOutUpLeft() { #animator.animation(rotateOutUpLeft); }
322-
.rotateOutUpRight() { #animator.animation(rotateOutUpRight); }
318+
.rotateOut() { #afl.animation(rotateOut); }
319+
.rotateOutDownLeft() { #afl.animation(rotateOutDownLeft); }
320+
.rotateOutDownRight() { #afl.animation(rotateOutDownRight); }
321+
.rotateOutUpLeft() { #afl.animation(rotateOutUpLeft); }
322+
.rotateOutUpRight() { #afl.animation(rotateOutUpRight); }
323323

324324
// ----------------------------------------
325325
// SPECIALS
326326
// ----------------------------------------
327327

328-
.hinge() { #animator.animation(hinge); #animator.duration(2s); }
329-
.rollIn() { #animator.animation(rollIn); }
330-
.rollOut() { #animator.animation(rollOut); }
328+
.hinge() { #afl.animation(hinge); #afl.duration(2s); }
329+
.rollIn() { #afl.animation(rollIn); }
330+
.rollOut() { #afl.animation(rollOut); }
331331

332332
// ----------------------------------------
333333
// ZOOM ENTRANCES
334334
// ----------------------------------------
335335

336-
.zoomIn() { #animator.animation(zoomIn); }
337-
.zoomInDown() { #animator.animation(zoomInDown); }
338-
.zoomInLeft() { #animator.animation(zoomInLeft); }
339-
.zoomInRight() { #animator.animation(zoomInRight); }
340-
.zoomInUp() { #animator.animation(zoomInUp); }
336+
.zoomIn() { #afl.animation(zoomIn); }
337+
.zoomInDown() { #afl.animation(zoomInDown); }
338+
.zoomInLeft() { #afl.animation(zoomInLeft); }
339+
.zoomInRight() { #afl.animation(zoomInRight); }
340+
.zoomInUp() { #afl.animation(zoomInUp); }
341341

342342
// ----------------------------------------
343343
// ZOOM EXITS
344344
// ----------------------------------------
345345

346-
.zoomOut() { #animator.animation(zoomOut); }
347-
.zoomOutDown() { #animator.animation(zoomOutDown); }
348-
.zoomOutLeft() { #animator.animation(zoomOutLeft); }
349-
.zoomOutRight() { #animator.animation(zoomOutRight); }
350-
.zoomOutUp() { #animator.animation(zoomOutUp); }
346+
.zoomOut() { #afl.animation(zoomOut); }
347+
.zoomOutDown() { #afl.animation(zoomOutDown); }
348+
.zoomOutLeft() { #afl.animation(zoomOutLeft); }
349+
.zoomOutRight() { #afl.animation(zoomOutRight); }
350+
.zoomOutUp() { #afl.animation(zoomOutUp); }
351351

352352
// ----------------------------------------
353353
// SLIDING ENTRANCES
354354
// ----------------------------------------
355355

356-
.slideInDown() { #animator.animation(slideInDown); }
357-
.slideInLeft() { #animator.animation(slideInLeft); }
358-
.slideInRight() { #animator.animation(slideInRight); }
359-
.slideInUp() { #animator.animation(slideInUp); }
356+
.slideInDown() { #afl.animation(slideInDown); }
357+
.slideInLeft() { #afl.animation(slideInLeft); }
358+
.slideInRight() { #afl.animation(slideInRight); }
359+
.slideInUp() { #afl.animation(slideInUp); }
360360

361361
// ----------------------------------------
362362
// SLIDING EXITS
363363
// ----------------------------------------
364364

365-
.slideOutDown() { #animator.animation(slideOutDown); }
366-
.slideOutLeft() { #animator.animation(slideOutLeft); }
367-
.slideOutRight() { #animator.animation(slideOutRight); }
368-
.slideOutUp() { #animator.animation(slideOutUp); }
365+
.slideOutDown() { #afl.animation(slideOutDown); }
366+
.slideOutLeft() { #afl.animation(slideOutLeft); }
367+
.slideOutRight() { #afl.animation(slideOutRight); }
368+
.slideOutUp() { #afl.animation(slideOutUp); }
369369

370370

371371
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
372372
// ANIMATION CLASSES (USES ANIMATION FUNCTIONS LISTED ABOVE)
373373
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
374374

375-
.animated { #animator.animated; }
376-
.animated.infinite { #animator.iterate(infinite); }
375+
.animated { #afl.animated; }
376+
.animated.infinite { #afl.iterate(infinite); }
377377
.bounce { .bounce; }
378378
.flash { .flash; }
379379
.pulse { .pulse; }

css/animate.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* animate.less v1.0.0 | animateforless.com
2+
* animate.less v1.0.1 | animateforless.com
33
*
44
* -----------------------------------------------------------------------------
55
*
@@ -24,7 +24,6 @@
2424
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2525
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2626
*/
27-
2827
/*
2928
********************************************************************************
3029
** **

css/animate.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)