Conditions | 2 |
Paths | 2 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | define(function(require) { |
||
90 | hideLoader: function() { |
||
91 | if (!this.active) { |
||
92 | return; |
||
93 | } |
||
94 | |||
95 | var loaderWidth = this.$el.width(); |
||
96 | |||
97 | this.$el.width(loaderWidth).css({animation: 'none'}).width('100%'); |
||
98 | this.$el.delay(200).fadeOut(300, _.bind(function() { |
||
99 | this.$el.css({ |
||
100 | width: '', |
||
101 | animation: '' |
||
102 | }); |
||
103 | }, this)); |
||
104 | this.active = false; |
||
105 | } |
||
106 | }); |
||
110 |