Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of git://github.com/brianjmiller/shifter into b…

…rianjmiller-master
  • Loading branch information...
commit 0987426f9bc7ef9ee7fd92f3641cccbf0b9de5cf 2 parents 5645d71 + 189ac18
@davglass davglass authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/module.js
View
2  lib/module.js
@@ -766,7 +766,7 @@ var _rollup = function (mod, name, options, callback) {
queue.read(files)
.concat()
.jsstamp({
- postfix: "YUI.add('" + modName + "', function (Y, NAME) {}, '@VERSION@'" + stringify(mod.config) + ");\n"
+ postfix: "YUI.add('" + modName + "', function (Y, NAME) {" + (options.strict ? '"use strict"; ' : "") + "}, '@VERSION@'" + stringify(mod.config) + ");\n"
})
.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.