| 1 |
/** |
| 2 |
@license jQuery Toggles v4.0.0 |
| 3 |
Copyright 2012 - 2015 Simon Tabor - MIT License |
| 4 |
https://github.com/simontabor/jquery-toggles / http://simontabor.com/labs/toggles |
| 5 |
*/ |
| 6 |
(function(root) { |
| 7 |
|
| 8 |
var factory = function($) { |
| 9 |
|
| 10 |
<<Toggles>> |
| 11 |
|
| 12 |
$.fn['toggles'] = function(opts) { |
| 13 |
return this.each(function() { |
| 14 |
new Toggles($(this), opts); |
| 15 |
}); |
| 16 |
}; |
| 17 |
}; |
| 18 |
|
| 19 |
if (typeof define === 'function' && define['amd']) { |
| 20 |
define(['jquery'], factory); |
| 21 |
} else { |
| 22 |
factory(root['jQuery'] || root['Zepto'] || root['ender'] || root['$'] || $); |
| 23 |
} |
| 24 |
|
| 25 |
})(this); |
| 26 |
|