Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed lint issues

  • Loading branch information...
commit cee5b129cefee5c82a4baa5df5c7028224cec5e0 1 parent 0987426
@davglass davglass authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/module.js
View
4 lib/module.js
@@ -756,6 +756,8 @@ var _rollup = function (mod, name, options, callback) {
}),
modName = mod.name || name,
fileName = mod.basefilename || name,
+ postfix = "YUI.add('" + modName + "', function (Y, NAME) {" +
+ (options.strict ? '"use strict"; ' : "") + "}, '@VERSION@'" + stringify(mod.config) + ");\n";
regex = (typeof mod.regex !== 'undefined') ? mod.regex : loggerRegex,
files = [];
@@ -766,7 +768,7 @@ var _rollup = function (mod, name, options, callback) {
queue.read(files)
.concat()
.jsstamp({
- postfix: "YUI.add('" + modName + "', function (Y, NAME) {" + (options.strict ? '"use strict"; ' : "") + "}, '@VERSION@'" + stringify(mod.config) + ");\n"
+ postfix: postfix
})
.replace(replaceOptions)
.log('writing rollup file ' + path.join(fileName, fileName + '-debug.js'))
Please sign in to comment.
Something went wrong with that request. Please try again.