Fixed build errors.

This commit is contained in:
Daniel Beckwith
2015-05-22 17:05:12 -04:00
parent 92c408d7d8
commit 7e901c0f96
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ $(function() {
$("#ex6").slider();
$("#ex6").on("slide", function(slideEvt) {
$("#ex6SliderVal").text(slideEvt.value);
$("#ex6SliderVal").text(<number>slideEvt.value);
});
+3 -3
View File
@@ -79,9 +79,9 @@ interface SliderOptions {
/**
* Default: returns the plain value
* formatter callback. Return the value wanted to be displayed in the tooltip
* @param number the current value to display
* @param val the current value to display
*/
formatter?(number): string;
formatter?(val:number): string;
/**
* Default: false
* The natural order is used for the arrow keys. Arrow up select the upper slider value for vertical sliders, arrow right the righter slider value for a horizontal slider - no matter if the slider was reversed or not. By default the arrow keys are oriented by arrow up/right to the higher slider value, arrow down/left to the lower slider value.
@@ -101,7 +101,7 @@ interface SliderOptions {
* Default: [ ]
* Defines the labels below the tick marks. Accepts HTML input.
*/
ticks_labels?: number[];
ticks_labels?: string[];
/**
* Default: 0
* Used to define the snap bounds of a tick. Snaps to the tick if value is within these bounds.