I'm getting an error when trying to emulate an YUI Anim sample:
<script src="http://yui.yahooapis.com/3.0.0/build/yui/yui-min.js"></script>
<script>
YUI().use('anim-base', function(Y){
var anim = new Y.Anim({
node: '.notice',
to: {height: 300},
easing: Y.Easing.backIn
});
onClick = function(e){
e.preventDefault();
anim.run();
};
Y.get('.notice').on('click', onClick);
});
</script>
The error is:
Y.Easing is undefined easing: Y.Easing.backIn\r\n
I was under the impression that YUI loader would retrieve the needed files.