<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Override Core jQuery Methods</title>
	<atom:link href="http://beautyindesign.com/blog/override-core-jquery-methods/feed/" rel="self" type="application/rss+xml" />
	<link>http://beautyindesign.com/blog/override-core-jquery-methods/</link>
	<description>Web Design and Development Training and Tutorials</description>
	<lastBuildDate>Thu, 08 Sep 2011 09:27:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Steve</title>
		<link>http://beautyindesign.com/blog/override-core-jquery-methods/comment-page-1/#comment-1509</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 25 May 2011 17:40:44 +0000</pubDate>
		<guid isPermaLink="false">http://beautyindesign.com/?p=545#comment-1509</guid>
		<description>Its called duck punching, heres a good example of doing it in a way that allows the original function to be called based on a conditional: http://paulirish.com/2010/duck-punching-with-jquery/</description>
		<content:encoded><![CDATA[<p>Its called duck punching, heres a good example of doing it in a way that allows the original function to be called based on a conditional: <a href="http://paulirish.com/2010/duck-punching-with-jquery/" rel="nofollow">http://paulirish.com/2010/duck-punching-with-jquery/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guile</title>
		<link>http://beautyindesign.com/blog/override-core-jquery-methods/comment-page-1/#comment-905</link>
		<dc:creator>Guile</dc:creator>
		<pubDate>Wed, 14 Apr 2010 20:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://beautyindesign.com/?p=545#comment-905</guid>
		<description>For anyone looking for a way to overide the &quot;hide&quot; Jquery function, here is how do to it ( you need a return somwhere, otherwise $(somthing).hide().else() will not work)

Bonus, a way to keep the overidden function, and how to still call it !

var originalHideMethod = jQuery.fn.hide;
jQuery.fn.extend({  
	// Override the core hide() method  
	 hide : function(arguments) { console.log(&#039;do somthing usefull here&#039;); return originalHideMethod.apply( this, arguments ); }  
	});</description>
		<content:encoded><![CDATA[<p>For anyone looking for a way to overide the &#8220;hide&#8221; Jquery function, here is how do to it ( you need a return somwhere, otherwise $(somthing).hide().else() will not work)</p>
<p>Bonus, a way to keep the overidden function, and how to still call it !</p>
<p>var originalHideMethod = jQuery.fn.hide;<br />
jQuery.fn.extend({<br />
	// Override the core hide() method<br />
	 hide : function(arguments) { console.log(&#8216;do somthing usefull here&#8217;); return originalHideMethod.apply( this, arguments ); }<br />
	});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick</title>
		<link>http://beautyindesign.com/blog/override-core-jquery-methods/comment-page-1/#comment-869</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Wed, 03 Mar 2010 12:20:22 +0000</pubDate>
		<guid isPermaLink="false">http://beautyindesign.com/?p=545#comment-869</guid>
		<description>@Adrian - There actually is a way to extend a core method but not like how MooTools does it.  It&#039;d be great if jQuery got to that point one day!</description>
		<content:encoded><![CDATA[<p>@Adrian &#8211; There actually is a way to extend a core method but not like how MooTools does it.  It&#8217;d be great if jQuery got to that point one day!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adrian</title>
		<link>http://beautyindesign.com/blog/override-core-jquery-methods/comment-page-1/#comment-867</link>
		<dc:creator>adrian</dc:creator>
		<pubDate>Wed, 03 Mar 2010 09:14:49 +0000</pubDate>
		<guid isPermaLink="false">http://beautyindesign.com/?p=545#comment-867</guid>
		<description>If JQuery would have been so nicely object-oriented like MooTools, you could have simply extended the class</description>
		<content:encoded><![CDATA[<p>If JQuery would have been so nicely object-oriented like MooTools, you could have simply extended the class</p>
]]></content:encoded>
	</item>
</channel>
</rss>

