gulp-iife
Version:
Wraps JavaScript code within an immediately invoked function expression.
31 lines (13 loc) • 519 B
Markdown
# Changelog
## 0.0.7
- Adds `bindThis` option for binding the global object to `this` with the scope of the IIFE
## 0.0.6
- Adds `prependSemicolon` option for prepending semicolons as potential statement terminators
## 0.0.5
- Adds `trimCode` option for removing leading and trailing whitespace
## 0.0.4
- Only prepends scripts with `"use strict";` statements if not already present
## 0.0.3
- Adds `useStrict` option (`true` by default) to insert `"use strict";` statements
## 0.0.2
- Initial version