+function ($) { 'use strict'; // SWITCH PUBLIC CLASS DEFINITION // ============================== var Switch = function (element, options) { this.$element = $(element); this.settings = { baseClass: this.$element.data('base-class'), offClass: this.$element.data('off-class'), onClass: this.$element.data('on-class') }; this.options = $.extend({}, Switch.DEFAULTS, this.settings, options); this.init(); }; Switch.VERSION = '1.0.0'; Switch.DEFAULTS = { baseClass: 'switch', offClass: 'switch-color-light-haze', onClass: 'switch-color-green', text: { off: '', on: '' } }; Switch.prototype.constructor = Switch; Switch.prototype.init = function () { var $switchHandle = $(''); var $switchOn = $('