From 8b8ff9de9e260ae8f970e3512ff7f1e786d14eb5 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 7 Nov 2012 20:54:00 -0500 Subject: [PATCH] small fix --- lib/assets/javascripts/caroufredsel.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/assets/javascripts/caroufredsel.js.coffee b/lib/assets/javascripts/caroufredsel.js.coffee index 306dbd1..5643119 100644 --- a/lib/assets/javascripts/caroufredsel.js.coffee +++ b/lib/assets/javascripts/caroufredsel.js.coffee @@ -4,7 +4,7 @@ #= require caroufredsel/jquery.carouFredSel-6.0.3 class @Carousel - constructor: (@carousel, options) -> + constructor: (@carousel, options = {}) -> if options.onChange @onChange = options.onChange delete options.onChange