Skip to content
Browse files

prevent higher namespace override, ie so that fab.map.body doesn't re…

…place fab.body.
  • Loading branch information...
1 parent 0220347 commit 0f9e17bb729eb6a424e38dc7520b11320cb00bad @jed committed Apr 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
2 index.js
@@ -8,7 +8,7 @@ for ( name in fab ) {
app = fab[ name ];
for ( name in app )
- { fab[ name ] = app[ name ] };
+ { fab[ name ] = fab[ name ] || app[ name ] };
}
fab.fab = fab;

0 comments on commit 0f9e17b

Please sign in to comment.
Something went wrong with that request. Please try again.