Skip to content

Commit fece132

Browse files
committed
style(animations): fix jshint errors
1 parent c72ab88 commit fece132

File tree

6 files changed

+86
-82
lines changed

6 files changed

+86
-82
lines changed

js/angular/service/animation.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,30 @@
1515
* var anim = $ionicAnimate({
1616
* // A unique, reusable name
1717
* name: 'popIn',
18-
*
18+
*
1919
* // The duration of an auto playthrough
2020
* duration: 0.5,
21-
*
21+
*
2222
* // How long to wait before running the animation
2323
* delay: 0,
24-
*
24+
*
2525
* // Whether to reverse after doing one run through
2626
* autoReverse: false,
27-
*
27+
*
2828
* // How many times to repeat? -1 or null for infinite
2929
* repeat: -1,
30-
*
30+
*
3131
* // Timing curve to use (same as CSS timing functions), or a function of time "t" to handle it yourself
3232
* curve: 'ease-in-out'
33-
*
33+
*
3434
* onStart: function() {
3535
* // Callback on start
3636
* },
3737
* onEnd: function() {
3838
* // Callback on end
3939
* },
4040
* step: function(amt) {
41-
*
41+
*
4242
* }
4343
* })
4444
* });
@@ -60,6 +60,6 @@ IonicModule
6060
return function(opts) {
6161
opts.useSlowAnimations = useSlowAnimations;
6262
return ionic.Animation.create(opts);
63-
}
64-
}]
63+
};
64+
}];
6565
});

js/animation/animation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
var tf;
1414

1515
if(typeof opts.curve === 'string') {
16-
tf = ionic.Animation.TimingFn[opts.curve] || ionic.Animation.TimingFn['linear'];
16+
tf = ionic.Animation.TimingFn[opts.curve] || ionic.Animation.TimingFn.linear;
1717
if(opts.curve.indexOf('cubic-bezier(') >= 0) {
1818
var parts = opts.curve.replace('cubic-bezier(', '').replace(')', '').split(',');
1919
tf = ionic.Animation.TimingFn['cubic-bezier'];

0 commit comments

Comments
 (0)