Change buildMap to object literal from array literal #49

Merged
merged 1 commit into from Jun 7, 2013

2 participants

@fabienbrooke

The buildMap variable was being used like an object (indexed with strings) which arrays of course can support like any object but I thought it would make it clearer to initialize it with an object literal rather than array literal since array methods aren't being used for the variable.

Fabien Change buildMap to object literal from array literal
The buildMap variable was being used like an object (indexed with strings) which arrays of course can support like any object but I thought it would make it clearer to initialize it with an object literal rather than array literal since array methods aren't being used for the variable.
814dc92
@jrburke jrburke merged commit 823ce0c into requirejs:master Jun 7, 2013
@jrburke
requirejs member

Thanks! That was a silly oversight/typo on my part.

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