Permalink
Browse files

Fixed docs

  • Loading branch information...
1 parent 006bc0a commit beb5a203c4a9b6253d557fa171f718a068fba63f @wieringen committed Aug 8, 2015
Showing with 4 additions and 3 deletions.
  1. +4 −3 docs/index.html
View
@@ -386,11 +386,12 @@
{
// Initialize a carousel like this.
//
- $('#box').tinycarousel();
+ var $box = $('#box');
+ $box.tinycarousel();
// Try this to get access to the actual carousel instance.
//
- var box = $('#box').data("plugin_tinycarousel");
+ var box = $box.data("plugin_tinycarousel");
// Now you have access to all the methods and properties.
//
@@ -455,4 +456,4 @@
})();
</script>
</body>
-</html>
+</html>

0 comments on commit beb5a20

Please sign in to comment.