/* Copyright (c) 2006 Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) 
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 */

/**
 * Checks to see if an element has a specified class name.
 * http://blog.brandonaaron.net/2007/06/25/where-is-the-hasclass-method/
 */
jQuery.fn.hasClass = function(c) {
	return this.is('.'+c)
};