mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
updated tests to match constructor change
This commit is contained in:
1 parent
10e312fce6
commit
fa7577b290
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user