This file contains 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
// We are creating a new class definition. The class definition itself | |
// will be added to the global window object. | |
window.MultiSelect = (function() { | |
function MultiSelect(options) { | |
var defaults = { | |
checkboxSelector: ".multi-select-checkbox", | |
onSelector: ".multi-select-on", | |
selectAllSelector: "#multi-select-all" | |
}; |