updated tests to match constructor change

This commit is contained in:
Christiaan Rakowski
2013-12-18 15:53:18 +01:00
parent 10e312fce6
commit fa7577b290
+1 -1
View File
@@ -100,7 +100,7 @@ jQuery(document).ready(function ($) {
// Another example: $(".royalSlider").royalSlider('goTo', 3);
// But it's recommended to get instance once if you have many calls:
var slider = $(".royalSlider").royalSlider();
var slider: RoyalSlider.RoyalSlider = $(".royalSlider").royalSlider().data('royalSlider');
slider.goTo(3); // go to slide with id
slider.next(); // next slide