Permalink
Browse files

Delete loadDir config after first use so it doesn't fire again on sec…

…ondary Y.use call
  • Loading branch information...
1 parent 62bcd27 commit 46a2acc63bbdd279cc035ee6f0c9854f02768b43 @davglass davglass committed Apr 8, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/yui3-yui3.js
View
@@ -440,6 +440,7 @@ exports.configure = function(c) {
});
files.done(function() {
+ delete self.config.loadDir;
self.log('AutoLoad complete, firing Y.use call.', 'info', 'loadDir');
self.__use.apply(self, args);
});

0 comments on commit 46a2acc

Please sign in to comment.