mishoo/UglifyJS2 — pull request #454 by Arnavion (2014-03-23 01:00:00+00:00)
Title: Allow colons in the pairs passed to AST_Toplevel.wrap_enclose

The old code essentially split on the first colon and took everything after it as the parameter name. Since the parameter name has to be given last and can only be one colon-less word, it's better to split on the last colon. This also allows using ternary expressions, strings containing colons, etc. for the arg.

For example:
```
root = root.wrap_enclose(['(typeof global !== "undefined") ? global : this:global']);
```