Allow custom :output-wrapper function

Description

In advanced optimization, `goog.global` is being assigned the value of `this` which will lose context when output-wrapper is used. To fix this, the output-wrapper function should be set to something like `'(function(){%output%}).call(window)'` so that `this` is `window`.

Environment

None

Activity

Show:
David Nolen
December 1, 2017, 9:45 PM

Assignee

David Nolen

Reporter

Levi Tan Ong

Labels

Approval

Accepted

Patch

Code and Test

Affects versions

Priority

Minor
Configure