<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Buta no Ie &#187; jQuery</title>
	<atom:link href="http://singchan.com/category/development/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://singchan.com</link>
	<description>The House of Pork and User Experience Development</description>
	<lastBuildDate>Tue, 11 Oct 2011 22:08:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SharePoint 2010: var $ conflict between CMSSiteManager.js and jQuery</title>
		<link>http://singchan.com/2010/11/06/sharepoint-2010-var-conflict-between-cmssitemanager-js-and-jquery/</link>
		<comments>http://singchan.com/2010/11/06/sharepoint-2010-var-conflict-between-cmssitemanager-js-and-jquery/#comments</comments>
		<pubDate>Sat, 06 Nov 2010 18:27:18 +0000</pubDate>
		<dc:creator>Buta</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[CMSSiteManager.js]]></category>
		<category><![CDATA[conflict]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[thumbnail]]></category>
		<category><![CDATA[view]]></category>

		<guid isPermaLink="false">http://singchan.com/?p=296</guid>
		<description><![CDATA[I ran into an issue recently on a SharePoint 2010 project where a page containing a Thumbnails list view was throwing a JavaScript error. I actually took the wrong path troubleshooting this and burned through a lot of time as a result. I had incorrectly assumed the error had something to do with our custom [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into an issue recently on a SharePoint 2010 project where a page containing a Thumbnails list view was throwing a JavaScript error. I actually took the wrong path troubleshooting this and burned through a lot of time as a result. I had incorrectly assumed the error had something to do with our custom master page.</p>
<p>Turns out the <em>CMSSiteManager.js</em> library that is used by the Thumbnails list view is also using the <strong>$</strong> variable! Argh!</p>
<p>Good thing the plug-in pattern we use only calls $ internally and not globally&#8230;</p>
<pre class="brush: plain; title: ; notranslate">
(function($) {
  // plug-in goodness here...
})(jQuery);
</pre>
<p>Unfortunately our scripts for invoking the plug-ins was referencing <strong>$</strong>&#8230; <img src='http://singchan.com/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<pre class="brush: plain; title: ; notranslate">
$(document).ready(function(){
  $('.foo').samplePlugin();
});
</pre>
<p>A quick replacement of <strong>$</strong> to <strong>jQuery</strong> did the trick:</p>
<pre class="brush: plain; title: ; notranslate">
jQuery(document).ready(function(){
  jQuery('.foo').samplePlugin();
});
</pre>
<p>If you have large blocks of inline jQuery code on your page, you&#8217;ll probably want to use jQuery.noConflict():</p>
<pre class="brush: plain; title: ; notranslate">
jQuery.noConflict()(function() {
    // code using $ as alias to jQuery
});
</pre>
]]></content:encoded>
			<wfw:commentRss>http://singchan.com/2010/11/06/sharepoint-2010-var-conflict-between-cmssitemanager-js-and-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vancouver Tech Fest &#8211; Creating jQuery Web Parts for SharePoint</title>
		<link>http://singchan.com/2009/11/21/vancouver-tech-fest-creating-jquery-web-parts-for-sharepoint/</link>
		<comments>http://singchan.com/2009/11/21/vancouver-tech-fest-creating-jquery-web-parts-for-sharepoint/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 08:51:18 +0000</pubDate>
		<dc:creator>Buta</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[jquery; ue; javascript; js; sharepoint; techfest; vancouver; session; materials]]></category>

		<guid isPermaLink="false">http://singchan.com/?p=102</guid>
		<description><![CDATA[It&#8217;s always fun to have your presentation laptop completely meltdown the night before your presentation! Anyways, here are the presentation material and code: Slide Deck jQuery Sample Plug-in SharePoint jQuery Web Parts]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s always fun to have your presentation laptop completely meltdown the night before your presentation!</p>
<p>Anyways, here are the presentation material and code:</p>
<ul>
<li><a title="Presentation Slide Deck" href="http://singchan.com/wordpress/wp-content/uploads/2009/11/TechFest.SharePoint.JQuery.SlideDeck.zip" target="_blank">Slide Deck</a></li>
<li><a title="jQuery Sample Plug-in" href="http://singchan.com/wordpress/wp-content/uploads/2009/11/TechFest.jQuery.zip">jQuery Sample Plug-in</a></li>
<li><a title="SharePoint jQuery Web Parts" href="http://singchan.com/wordpress/wp-content/uploads/2009/11/TechFest.SharePoint.JQuery.zip" target="_blank">SharePoint jQuery Web Parts</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://singchan.com/2009/11/21/vancouver-tech-fest-creating-jquery-web-parts-for-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

