留言板
Can't load non-minified modules.
I am using Alloyui 2.5.0, and I'm trying to load the non-minified versions of modules.
my call to YUI().use() looks like this:
[indent]YUI().use( { filter: 'raw' },
....
(module list)
....
function(Y) {
....
}
....
});
[/indent]
All of the minified versions of the modules load with no errors when I exclude the '{filter: 'raw'}' config variable. But when I include it, I get the following error:
[indent]
yui: NOT loaded: [object Object]
[/indent]
this error occurs in aui.js (line 5784)
Also, looking in firebug I can see that all of the minified versions of the modules were loaded (so the filter is not working).
Does anyone here have any idea why this isn't working (or can anyone else reproduce the problem)?
my call to YUI().use() looks like this:
[indent]YUI().use( { filter: 'raw' },
....
(module list)
....
function(Y) {
....
}
....
});
[/indent]
All of the minified versions of the modules load with no errors when I exclude the '{filter: 'raw'}' config variable. But when I include it, I get the following error:
[indent]
yui: NOT loaded: [object Object]
[/indent]
this error occurs in aui.js (line 5784)
Also, looking in firebug I can see that all of the minified versions of the modules were loaded (so the filter is not working).
Does anyone here have any idea why this isn't working (or can anyone else reproduce the problem)?