Created
September 1, 2013 22:13
-
-
Save mcsheffrey/6407659 to your computer and use it in GitHub Desktop.
Example Module pattern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
carousel = function(){ | |
var config = { | |
CSS:{ | |
classes:{ | |
current:'current', | |
scrollContainer:'scroll' | |
}, | |
IDs:{ | |
maincontainer:'carousel' | |
} | |
}, | |
labels:{ | |
previous:'back', | |
next:'next', | |
auto:'play' | |
}, | |
settings:{ | |
amount:5, | |
skin:'blue', | |
autoplay:false | |
}, | |
}; | |
function init(){ | |
}; | |
function scroll(){ | |
}; | |
function highlight(){ | |
}; | |
return {config:config,init:init} | |
}(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment