src/widgets/Slice.js
changeset 1013 392ddcd212d7
parent 975 35aadec4131b
child 1033 c20df1c080e6
--- a/src/widgets/Slice.js	Mon Sep 30 14:39:34 2013 +0200
+++ b/src/widgets/Slice.js	Tue Oct 01 15:41:46 2013 +0200
@@ -15,7 +15,7 @@
 
 IriSP.Widgets.Slice.prototype.template =
     '<div class="Ldt-Slice"></div>'
-    + '{{#show_arrow}}<div class="Ldt-Slice-Arrow"></div>{{/show_arrow}}'
+    + '{{#show_arrow}}<div class="Ldt-Slice-Arrow"></div>{{/show_arrow}}';
 
 IriSP.Widgets.Slice.prototype.draw = function() {
     
@@ -40,7 +40,7 @@
         max: this.max,
         change: function(event, ui) {
             if (_this.arrow) {
-                _this.arrow.moveToTime((ui.values[0]+ui.values[1])/2)
+                _this.arrow.moveToTime((ui.values[0]+ui.values[1])/2);
             }
             if (_this.onBoundsChanged) {
                 _this.onBoundsChanged(ui.values[0],ui.values[1]);
@@ -74,8 +74,8 @@
 
 IriSP.Widgets.Slice.prototype.show = function() {
     this.$slider.show();
-}
+};
 
 IriSP.Widgets.Slice.prototype.hide = function() {
     this.$slider.hide();
-}
+};