ded/bonzo — pull request #108 by guybedford (2012-12-28 14:34:09+00:00)
Title: Support for AMD detection

Currently, Bonzo detects the amd environment using `context['amd']`. When using systems that need to detect if a module is amd or not, this stops a simple regex (checking for the existence of `define.amd` in the text) from being able to detect amd properly.

For example, this is used by the Volo package manager to detect if a module needs to have its globals wrapped, which was being triggered by bonzo.

This small change adjusts the define form to support this.