/**
*	Underscore Mixins
*	@author Patricio Ferreira <3dimentionar@gmail.com>
**/
define(['underscore', 'jquery'], function() {

	_.mixin({

		/**
		*	Returns true if a given object is not null and not undefined, otherwise returns false
		*	@public
		*	@method def
		*	@param o {Object} object to evaluate
		*	@return Boolean
		**/
		def: function(o) {
			return (!_.isNull(o) && !_.isUndefined(o));
		},

		/**
		*	Decorate a given object with jquery event system
		*	@public
		*	@method events
		*	@param o {Object} object to decorate
		*	@return Object
		**/
		events: function(o) {
			return _.def(o) ? _.extend(o, _.pick($.prototype,
				'on', 'once', 'off', 'trigger', 'each')) : o;
		}

	});

});

/**
*	Underscore Mixins
*	@author Patricio Ferreira <3dimentionar@gmail.com>
**/
define(['underscore', 'jquery'], function() {

	_.mixin({

		/**
		*	Returns true if a given object is not null and not undefined, otherwise returns false
		*	@public
		*	@method def
		*	@param o {Object} object to evaluate
		*	@return Boolean
		**/
		def: function(o) {
			return (!_.isNull(o) && !_.isUndefined(o));
		}
	
	});

});

Clean up unused underscore mixin function.
Clean up unused underscore mixin function.
