/**
 * jQuery.bindable
 * http://github.com/furf/jquery-bindable/
 *
 * Copyright 2010, Dave Furfero
 * Dual licensed under the MIT or GPL Version 2 licenses.
 */
(function(a){a.bindable=function(b){b=b.prototype||b;a(["bind","one","unbind"]).each(function(c,d){b[d]=function(g,h,f,e){a(this)[d](g,h,f,e);return this;};});b.trigger=function(c,e){var d=new a.Event(c);d.preventDefault();a(this).trigger(d,e);return this;};if(typeof arguments[1]==="string"){a.each(arguments[1].split(/\s+/),function(c,d){b[d]=function(g,f,e){return arguments.length?this.bind(d,g,f,e):this.trigger(d);};});}return b;};})(jQuery);
