/**
 * @author trixta
 */
(function(jQuery){

jQuery.bind = function(object, method){
	var args = Array.prototype.slice.call(arguments, 2);
	if(args.length){
		return function() {
			var args2 = [this].concat(args, jQuery.makeArray( arguments ));
			return method.apply(object, args2);
		};
	} else {
		return function() {
			var args2 = [this].concat(jQuery.makeArray( arguments ));
			return method.apply(object, args2);
		};
	}
};
	
})(jQuery);
