diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-09-13 09:23:54 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-09-13 09:23:54 +0200 |
| commit | 9d46e7c482cc17f9244ef5d37e8bf4c2d0a3586a (patch) | |
| tree | 8f4a2e74ce7ea4ddb283bcce158c3d1ced4ec3cf /chimere/static/bsmSelect/js/jquery.bsmselect.compatibility.js | |
| parent | 7e6d76b6620d3877411ea8cfe8ef2415253e9b2d (diff) | |
| download | Chimère-9d46e7c482cc17f9244ef5d37e8bf4c2d0a3586a.tar.bz2 Chimère-9d46e7c482cc17f9244ef5d37e8bf4c2d0a3586a.zip | |
Remove bsmSelect
Diffstat (limited to 'chimere/static/bsmSelect/js/jquery.bsmselect.compatibility.js')
| -rw-r--r-- | chimere/static/bsmSelect/js/jquery.bsmselect.compatibility.js | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/chimere/static/bsmSelect/js/jquery.bsmselect.compatibility.js b/chimere/static/bsmSelect/js/jquery.bsmselect.compatibility.js deleted file mode 100644 index 683d865..0000000 --- a/chimere/static/bsmSelect/js/jquery.bsmselect.compatibility.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Better Select Multiple Compatibility Plugin - jQuery Plugin - * - * Copyright (c) 2010-2011 by Victor Berchet - http://www.github.com/vicb - * - * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. - * - * version: v1.0.1 - 2011-11-14 - */ -(function($) { - $.bsmSelect.plugins.compatibility = function() - { - if (!(this instanceof $.bsmSelect.plugins.compatibility)) { - return new $.bsmSelect.plugins.compatibility(); - } - } - - $.extend($.bsmSelect.plugins.compatibility.prototype, { - init: function(bsm) { - - var o = bsm.options; - - if (typeof o.animate != 'undefined') - { - if (o.animate === true) { - o.showEffect = $.bsmSelect.effects.verticalListAdd; - o.hideEffect = $.bsmSelect.effects.verticalListRemove; - } else if ($.isFunction(o.animate.add)) { - o.showEffect = o.animate.add; - } else if (typeof(o.animate.add) == 'string' && $.isFunction($.bsmSelect.effects[o.animate.add])) { - o.showEffect = $.bsmSelect.effects[o.animate.add]; - } else { - o.showEffect = $.bsmSelect.effects.show; - } - - if ($.isFunction(o.animate.drop)) { - o.hideEffect = o.animate.drop; - } else if (typeof(o.animate.drop) == 'string' && $.isFunction($.bsmSelect.effects[o.animate.drop])) { - o.hideEffect = $.bsmSelect.effects[o.animate.drop]; - } else { - o.hideEffect = $.bsmSelect.effects.remove; - } - } - - if (typeof o.highlight != 'undefined') - { - if (o.highlight === true) { - o.highlightEffect = $.bsmSelect.effects.highlight; - } else if ($.isFunction(o.highlight)) { - o.highlightEffect = o.highlight; - } else if (typeof(o.highlight) == 'string' && $.isFunction($.bsmSelect.effects[o.highlight])) { - o.highlightEffect = $.bsmSelect.effects[o.highlight]; - } - } - - } - - }); -})(jQuery); - |
