diff -r 7e18d953a1f8 -r 392ddcd212d7 src/widgets/Slider.js --- a/src/widgets/Slider.js Mon Sep 30 14:39:34 2013 +0200 +++ b/src/widgets/Slider.js Tue Oct 01 15:41:46 2013 +0200 @@ -16,7 +16,7 @@ }; IriSP.Widgets.Slider.prototype.template = - '
00:00
' + '
00:00
'; IriSP.Widgets.Slider.prototype.draw = function() { @@ -69,7 +69,7 @@ IriSP.Widgets.Slider.prototype.onTimeupdate = function(_time) { this.$slider.slider("value",_time); this.player.trigger("Arrow.updatePosition",{widget: this.type, time: _time}); -} +}; IriSP.Widgets.Slider.prototype.onMouseover = function() { if (this.minimize_timeout) { @@ -82,7 +82,7 @@ this.maximized = true; } } -} +}; IriSP.Widgets.Slider.prototype.onMouseout = function() { this.$time.hide(); @@ -100,7 +100,7 @@ _this.timeoutId = false; }, this.minimize_timeout); } -} +}; IriSP.Widgets.Slider.prototype.animateToHeight = function(_height) { this.$slider.stop().animate( @@ -115,19 +115,19 @@ function() { IriSP.jQuery(this).css("overflow","visible"); }); -} +}; IriSP.Widgets.Slider.prototype.calculateSliderCss = function(_size) { return { height: _size + "px", "margin-top": (this.minimized_height - _size) + "px" }; -} +}; IriSP.Widgets.Slider.prototype.calculateHandleCss = function(_size) { return { height: (2 + _size) + "px", width: (2 + _size) + "px", "margin-left": -Math.ceil(2 + _size / 2) + "px" - } -} \ No newline at end of file + }; +}; \ No newline at end of file