From fa7577b290b98ce4da80baaf63fcb0b8988d804b Mon Sep 17 00:00:00 2001 From: Christiaan Rakowski Date: Wed, 18 Dec 2013 15:53:18 +0100 Subject: [PATCH] updated tests to match constructor change --- royalslider/royalslider-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royalslider/royalslider-tests.ts b/royalslider/royalslider-tests.ts index 03294c464..e8a166e9e 100644 --- a/royalslider/royalslider-tests.ts +++ b/royalslider/royalslider-tests.ts @@ -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