mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
updated tests to match constructor change
This commit is contained in:
@@ -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