OpenNTF/JavascriptAggregator — pull request #197 by chuckdumont (2014-07-02 12:57:17+00:00)
Title: Change to support multiple versions of the same client bundle installed

on in the framework.

During initialization, the aggregator creates a working directory for the dependency map and cache. The directory location is qualified using the bundle id of the contributing bundle (the bundle that instantiated the aggregator), and any directories specifying other bundle ids for the same bundle name are deleted. This prevents multiple versions of the same bundle from co-existing in the same framework.

With this change, the directories for any bundle ids that are still installed in the framework are preserved when cleaning up a bundle's working directory.