Permalink
Browse files

Small fix to optimize module compilation

  • Loading branch information...
1 parent c9b3013 commit ed9b0353893755e80a144441f03cd7cb0a791fc7 @hadrienl committed Mar 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/compiler/module.js
View
@@ -110,7 +110,7 @@ ModuleCompiler.prototype = {
if (module)
{
this._filecontent =
-"YUI().add('"+module+"', function(Y) {\n"+
+"YUI.add('"+module+"', function(Y) {\n"+
this._filecontent+"\n"+
"}, '1.234', {requires: "+JSON.stringify(requires)+"})";
}

0 comments on commit ed9b035

Please sign in to comment.