chore(animations): using named functions

- rollup generates a better code
- better for dev debugging
This commit is contained in:
Manuel Mtz-Almeida
2017-09-15 11:45:19 -05:00
parent 93f8dd9433
commit a1fcc61d3b
17 changed files with 33 additions and 34 deletions

View File

@ -3,7 +3,7 @@ import { Animation } from '../../../index';
/**
* iOS Action Sheet Enter Animation
*/
export default function(Animation: Animation, baseElm: HTMLElement) {
export default function iOSEnterAnimation(Animation: Animation, baseElm: HTMLElement): Animation {
const baseAnimation = new Animation();
const backdropAnimation = new Animation();

View File

@ -3,7 +3,7 @@ import { Animation } from '../../../index';
/**
* iOS Action Sheet Leave Animation
*/
export default function(Animation: Animation, baseElm: HTMLElement) {
export default function iOSLeaveAnimation(Animation: Animation, baseElm: HTMLElement): Animation {
const baseAnimation = new Animation();
const backdropAnimation = new Animation();