jrburke/almond — pull request #54 by dave-elkan (2013-05-06 22:53:54+00:00)
Title: Add noConflict to Almond

At Atlassian we have a plugin which is used in all of our products which is responsible for the management and installation of other plugins. This central plugin must work with a variety of host products which have different front-end architectures, i.e. some which use almond and others which don't.

To ensure this central plugin works nicely with all products it's best if it provides its own dependencies (including almond) to ensure it:
* is not dependant on external products dependencies.
* maintains its own set of module definitions without potentially clobbering the host product's modules.
* works with multiple versions of the products irrespective of their front-end stack.

A way to do this is is to implement noConflict in Almond so the plugin mentioned above does not interfere with the product's copy (if it exists).