jrburke/requirejs — pull request #498 by rjgotten (2012-10-10 14:25:55+00:00)
Title: FIX: module config not merged when set with multiple require.config calls

The (module) `config` option needs the same 'special' treatmet that other complex objects like `map`, `shim` and `paths` already have, or previously registered module configurations will be thrown out on subsequent `require.config` calls that specify new module configurations.

This pull request simply adds the `config` property to the growing list as a quick fix.

For the long term, I suggest replacing the `mixin` function with the common place `extend` function as already found in jQuery, underscore, etc. There is a great amount of special casing going on already and this is just to merge literals one level deep. Fully supporting the recursive case out of the box would be a very good thing, imho.