Skip to content

Instantly share code, notes, and snippets.

@davglass
Created November 28, 2011 15:59
Show Gist options
  • Save davglass/1400882 to your computer and use it in GitHub Desktop.
Save davglass/1400882 to your computer and use it in GitHub Desktop.
YUI3 ticket 2531319 repro
<html>
<body>
<script type="text/javascript" src="http://yui.yahooapis.com/3.4.1/build/yui-core/yui-core.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/3.4.1/build/oop/oop.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/3.4.1/build/event-base/event-base.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/3.4.1/build/event-custom-base/event-custom-base.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/3.4.1/build/event-custom-complex/event-custom-complex.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/3.4.1/build/attribute-base/attribute-base.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/3.4.1/build/attribute-complex/attribute-complex.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/3.4.1/build/get/get.js"></script>
<script type="text/javascript">
YUI({ combine: false, lang: '' }).use('attribute', function(Y) {
console.log('A this point there should not be any Y.Loader as everything necessary is in the above script tags... however the "attribute" and "event-custom" modules are reported missing by the _use() method and if the Y.Get is available the modules are attempted to be loaded');
console.log('!!Y.Loader = ', !!Y.Loader);
});
</script>
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment