Added an example of how to use the `defines` option (see #281) #343

Merged
merged 2 commits into from Oct 14, 2012

Conversation

Projects
None yet
3 participants
Contributor

spadgos commented Mar 29, 2012

No description provided.

@mishoo mishoo added a commit that referenced this pull request Oct 14, 2012

@mishoo mishoo Merge pull request #343 from spadgos/patch-1
Added an example of how to use the `defines` option (see #281)
437232e

@mishoo mishoo merged commit 437232e into mishoo:master Oct 14, 2012

Owner

mishoo commented Oct 14, 2012

Sorry for forgetting about this for so long.

In any case, in UglifyJS2 the interface is a bit simpler — you just pass a JS constant, not an AST.

sweet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment