Allow the iife command to not have %output% specified.

Former-commit-id: c11cd1d33479e64a689a2412c764be15a807c9ae
This commit is contained in:
John-David Dalton
2013-06-30 00:29:03 -07:00
parent a6b1bee2af
commit e12540ba66

View File

@@ -3638,9 +3638,9 @@
index = iife.indexOf(token);
source = source.match(/^\/\**[\s\S]+?\*\/\n/) +
iife.slice(0, index) +
(index > -1 ? iife.slice(0, index) : iife) +
source.replace(/^[\s\S]+?\(function[^{]+?{|}\(this\)\)[;\s]*$/g, '') +
iife.slice(index + token.length);
(index > -1 ? iife.slice(index + token.length) : '')
}
}());