<?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: First Steps with YUI3</title>
	<atom:link href="http://www.klauskomenda.com/archives/2009/07/20/first-steps-with-yui3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.klauskomenda.com/archives/2009/07/20/first-steps-with-yui3/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 25 Jan 2012 00:41:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Scott</title>
		<link>http://www.klauskomenda.com/archives/2009/07/20/first-steps-with-yui3/comment-page-1/#comment-70694</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 21 Nov 2011 16:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.klauskomenda.com/?p=781#comment-70694</guid>
		<description>I know this article is fairly old.  With YUI 3.4.0, Y.get(&quot;#min&quot;) fails with Y.get() is not a function.  I would have expected the library to remain backward compatible within a major release cycle.  Any idea what else changed?

Scott</description>
		<content:encoded><![CDATA[<p>I know this article is fairly old.  With YUI 3.4.0, Y.get(&#8220;#min&#8221;) fails with Y.get() is not a function.  I would have expected the library to remain backward compatible within a major release cycle.  Any idea what else changed?</p>
<p>Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Satya Prakash</title>
		<link>http://www.klauskomenda.com/archives/2009/07/20/first-steps-with-yui3/comment-page-1/#comment-70016</link>
		<dc:creator>Satya Prakash</dc:creator>
		<pubDate>Thu, 15 Sep 2011 10:24:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.klauskomenda.com/?p=781#comment-70016</guid>
		<description>I am looking for something like this:
Y.Countdown.start()  as said in first comment. I need to call the module code from an event which is Next/Prev button. 

- - - -
Actually code is working. but when I use next bttn on carousel then my events are not tied to newly added images. So I want to tie the module code to next bttn.</description>
		<content:encoded><![CDATA[<p>I am looking for something like this:<br />
Y.Countdown.start()  as said in first comment. I need to call the module code from an event which is Next/Prev button. </p>
<p>- &#8211; - -<br />
Actually code is working. but when I use next bttn on carousel then my events are not tied to newly added images. So I want to tie the module code to next bttn.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver</title>
		<link>http://www.klauskomenda.com/archives/2009/07/20/first-steps-with-yui3/comment-page-1/#comment-23894</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Fri, 16 Oct 2009 15:13:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.klauskomenda.com/?p=781#comment-23894</guid>
		<description>Thanks for a another interesting article, Klaus!</description>
		<content:encoded><![CDATA[<p>Thanks for a another interesting article, Klaus!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaus</title>
		<link>http://www.klauskomenda.com/archives/2009/07/20/first-steps-with-yui3/comment-page-1/#comment-22705</link>
		<dc:creator>Klaus</dc:creator>
		<pubDate>Tue, 25 Aug 2009 07:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.klauskomenda.com/?p=781#comment-22705</guid>
		<description>Thanks Luke, apparently

&lt;pre&gt;&lt;code&gt;&lt;pre&gt;&lt;code&gt;
...
&lt;/code&gt;&lt;/pre&gt;
&lt;/code&gt;&lt;/pre&gt;

is your friend here :-)</description>
		<content:encoded><![CDATA[<p>Thanks Luke, apparently</p>
<pre><code>&lt;pre&gt;&lt;code&gt;
...
&lt;/code&gt;&lt;/pre&gt;
</code></pre>
<p>is your friend here <img src='http://www.klauskomenda.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Smith</title>
		<link>http://www.klauskomenda.com/archives/2009/07/20/first-steps-with-yui3/comment-page-1/#comment-22703</link>
		<dc:creator>Luke Smith</dc:creator>
		<pubDate>Tue, 25 Aug 2009 05:49:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.klauskomenda.com/?p=781#comment-22703</guid>
		<description>Jeez.  What does a guy have to do around here to preserve whitespace? ;)</description>
		<content:encoded><![CDATA[<p>Jeez.  What does a guy have to do around here to preserve whitespace? <img src='http://www.klauskomenda.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Smith</title>
		<link>http://www.klauskomenda.com/archives/2009/07/20/first-steps-with-yui3/comment-page-1/#comment-22702</link>
		<dc:creator>Luke Smith</dc:creator>
		<pubDate>Tue, 25 Aug 2009 05:48:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.klauskomenda.com/?p=781#comment-22702</guid>
		<description>Oops!  I have a typo in my example.  The modules configuration passed in the YUI config should contain an object:

&lt;pre&gt;&lt;code&gt;YUI({
    modules: {
        ‘Klaus.Countdown’: {
            fullpath: ‘/where/to/find/the.js’,
            requires: [&#039;any&#039;,&#039;required&#039;,&#039;modules&#039;]
        }
    }
}).use(&quot;Klaus.Countdown&quot;, function (Y) { ... });
&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Oops!  I have a typo in my example.  The modules configuration passed in the YUI config should contain an object:</p>
<pre><code>YUI({
    modules: {
        ‘Klaus.Countdown’: {
            fullpath: ‘/where/to/find/the.js’,
            requires: ['any','required','modules']
        }
    }
}).use("Klaus.Countdown", function (Y) { ... });
</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wait till I come! &#187; Blog Archive &#187; TTMMHTM: Mario Bento, YUI3, Accessibility Interview, wearable computing pulp fiction typography and live carbon of the UK</title>
		<link>http://www.klauskomenda.com/archives/2009/07/20/first-steps-with-yui3/comment-page-1/#comment-22214</link>
		<dc:creator>Wait till I come! &#187; Blog Archive &#187; TTMMHTM: Mario Bento, YUI3, Accessibility Interview, wearable computing pulp fiction typography and live carbon of the UK</dc:creator>
		<pubDate>Tue, 21 Jul 2009 06:29:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.klauskomenda.com/?p=781#comment-22214</guid>
		<description>[...] Klaus Komenda has another great blog post, this time explaining the transition from YUI2 to YUI3 as a developer [...]</description>
		<content:encoded><![CDATA[<p>[...] Klaus Komenda has another great blog post, this time explaining the transition from YUI2 to YUI3 as a developer [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaus</title>
		<link>http://www.klauskomenda.com/archives/2009/07/20/first-steps-with-yui3/comment-page-1/#comment-22212</link>
		<dc:creator>Klaus</dc:creator>
		<pubDate>Mon, 20 Jul 2009 22:21:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.klauskomenda.com/?p=781#comment-22212</guid>
		<description>@Luke:
Thanks for that! As said, I was used to doing this with YUI2 but couldn&#039;t quite find something that would easily let me do this in YUI3 as well. 

But your explanation helps a lot, thanks again.</description>
		<content:encoded><![CDATA[<p>@Luke:<br />
Thanks for that! As said, I was used to doing this with YUI2 but couldn&#8217;t quite find something that would easily let me do this in YUI3 as well. </p>
<p>But your explanation helps a lot, thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Smith</title>
		<link>http://www.klauskomenda.com/archives/2009/07/20/first-steps-with-yui3/comment-page-1/#comment-22211</link>
		<dc:creator>Luke Smith</dc:creator>
		<pubDate>Mon, 20 Jul 2009 22:07:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.klauskomenda.com/?p=781#comment-22211</guid>
		<description>WRT to Y.add(&quot;Klaus.Countdown&quot;, init);

The preferred method to do what you are looking for is to create a module file containing
YUI.add(&#039;Klaus.Countdown&#039;, function (Y) {
   either
   A) do the countdown stuff here, OR
   B) create a class or function on the Y instance to trigger it
},&#039;@VERSION@&#039;,{requires: [&#039;node-base&#039;]});

then either
1) add a script node to your page pointing to your module, OR
2) add module data in the YUI config ala YUI({ modules: &#039;Klaus.Countdown&#039;: { fullpath: &#039;/where/to/find/the.js&#039; }})

and finally YUI(..).use(&#039;Klaus.Countdown&#039;, function (Y) {
    if you chose option A, it was executed right before this callback.
    if you chose option B, do something like Y.Countdown.start() or whatever you exposed as your API
});

I have a few modules I put together around the PR2 timeframe posted on github, though none of them execute pre-use.
http://github.com/lsmith (projects prefixed with &quot;yui3-&quot; )

Sometimes there are example.html files.  Sometimes there is documentation.

Great write up and thanks for spreading the knowledge!

PS, you can get to the underlying DOM nodes using Y.Node.getDOMNode(nodeInstance) and Y.NodeList.getDOMNodes(nodeListInstance)</description>
		<content:encoded><![CDATA[<p>WRT to Y.add(&#8220;Klaus.Countdown&#8221;, init);</p>
<p>The preferred method to do what you are looking for is to create a module file containing<br />
YUI.add(&#8216;Klaus.Countdown&#8217;, function (Y) {<br />
   either<br />
   A) do the countdown stuff here, OR<br />
   B) create a class or function on the Y instance to trigger it<br />
},&#8217;@VERSION@&#8217;,{requires: ['node-base']});</p>
<p>then either<br />
1) add a script node to your page pointing to your module, OR<br />
2) add module data in the YUI config ala YUI({ modules: &#8216;Klaus.Countdown&#8217;: { fullpath: &#8216;/where/to/find/the.js&#8217; }})</p>
<p>and finally YUI(..).use(&#8216;Klaus.Countdown&#8217;, function (Y) {<br />
    if you chose option A, it was executed right before this callback.<br />
    if you chose option B, do something like Y.Countdown.start() or whatever you exposed as your API<br />
});</p>
<p>I have a few modules I put together around the PR2 timeframe posted on github, though none of them execute pre-use.<br />
<a href="http://github.com/lsmith" rel="nofollow">http://github.com/lsmith</a> (projects prefixed with &#8220;yui3-&#8221; )</p>
<p>Sometimes there are example.html files.  Sometimes there is documentation.</p>
<p>Great write up and thanks for spreading the knowledge!</p>
<p>PS, you can get to the underlying DOM nodes using Y.Node.getDOMNode(nodeInstance) and Y.NodeList.getDOMNodes(nodeListInstance)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

