Permalink
Browse files

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

…rianjmiller-master
  • Loading branch information...
2 parents 5645d71 + 189ac18 commit 0987426f9bc7ef9ee7fd92f3641cccbf0b9de5cf @davglass davglass committed Oct 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/module.js
View
@@ -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'))

0 comments on commit 0987426

Please sign in to comment.