0N/A<
title>use('yui2-calendar') and then get dependencies</
title>
0N/A // When pulling from the CDN, you can choose a YUI2 distribution.
0N/A // The default is 2.8.0. This is the same as 2.8.0r4.
0N/A // 2.5.2, 2.6.0, 2.7.0, 2.8.0 -- skins won't work in 2.5.2 if you
0N/A // let them be combo handled. Set combine to false, or include
0N/A // them statically and set fetchCSS to false.
0N/A // Tangental to this example, but you can specify a gallery revision the same way
0N/A // gallery: 'gallery-2010.02.22-22'
0N/A // if including skins statically, set fetchCSS to false. another way
0N/A // do prevent refetching the CSS files is to include the module names
0N/A // the 'ignore' config
0N/A // when running
yui.js locally, you can force remote combo
0N/A // handling by setting combine to true
0N/A // this is a way to hack in to test a yui dist locally. normally you
0N/A // shouldn't need to do this. See the groups example for more information
0N/A // about the 'groups' config.
0N/A // configFn: function(me) {
0N/A filter: 'debug' // you need to ask for yui2-logger for 'debug' to work
0N/A}).use('yui2-logger', 'yui2-calendar', function (Y) {
0N/A<
body class="yui-skin-sam">
0N/A<
div id="cal1Container"></
div>