From c9957564d3b6d858144c8f03e4531fa0020329da Mon Sep 17 00:00:00 2001 From: Nathalie Larsson Date: Sun, 10 Mar 2013 18:25:46 +0100 Subject: [PATCH] Added error message Added exception because return nothing is hard to debug --- responsiveslides.js | 782 ++++++++++++++++++++++---------------------- 1 file changed, 391 insertions(+), 391 deletions(-) diff --git a/responsiveslides.js b/responsiveslides.js index 1e6f465..c89dae6 100644 --- a/responsiveslides.js +++ b/responsiveslides.js @@ -1,391 +1,391 @@ -/*! ResponsiveSlides.js v1.53 - * http://responsiveslides.com - * http://viljamis.com - * - * Copyright (c) 2011-2012 @viljamis - * Available under the MIT license - */ - -/*jslint browser: true, sloppy: true, vars: true, plusplus: true, indent: 2 */ - -(function ($, window, i) { - $.fn.responsiveSlides = function (options) { - - // Default settings - var settings = $.extend({ - "auto": true, // Boolean: Animate automatically, true or false - "speed": 500, // Integer: Speed of the transition, in milliseconds - "timeout": 4000, // Integer: Time between slide transitions, in milliseconds - "pager": false, // Boolean: Show pager, true or false - "nav": false, // Boolean: Show navigation, true or false - "random": false, // Boolean: Randomize the order of the slides, true or false - "pause": false, // Boolean: Pause on hover, true or false - "pauseControls": true, // Boolean: Pause when hovering controls, true or false - "prevText": "Previous", // String: Text for the "previous" button - "nextText": "Next", // String: Text for the "next" button - "maxwidth": "", // Integer: Max-width of the slideshow, in pixels - "navContainer": "", // Selector: Where auto generated controls should be appended to, default is after the