Skip to content

Instantly share code, notes, and snippets.

@dustym
Created August 21, 2008 17:04
Show Gist options
  • Save dustym/6596 to your computer and use it in GitHub Desktop.
Save dustym/6596 to your computer and use it in GitHub Desktop.
var CurbedNetwork = $H({
'curbed.com': $H({
title: 'curbed',
locale: 'ny',
name: 'Curbed',
email: '[email protected]'
}),
'eater.com': $H({
title: 'eater',
locale: 'ny',
name: 'Eater',
email: '[email protected]'
}),
'racked.com': $H({
title: 'racked',
locale: 'ny',
name: 'Racked',
email: '[email protected]'
}),
'la.curbed.com': $H({
title: 'curbed',
locale: 'la',
name: 'Curbed LA',
email: '[email protected]'
}),
'la.eater.com': $H({
title: 'eater',
locale: 'la',
name: 'Eater LA',
email: '[email protected]'
}),
'la.racked.com': $H({
title: 'racked',
locale: 'la',
name: 'Racked LA',
email: '[email protected]'
}),
'sf.curbed.com': $H({
title: 'curbed',
locale: 'sf',
name: 'Curbed SF',
email: '[email protected]'
}),
'sf.eater.com': $H({
title: 'eater',
locale: 'sf',
name: 'Eater SF',
email: '[email protected]'
}),
'gridskipper.com': $H({
title: 'gridskipper',
locale: 'international',
name: 'Gridskipper',
email: '[email protected]'
}),
'localhost': $H({
title: 'eater',
locale: 'ny',
name: 'Eater',
email: '[email protected]'
})
});
console.log(Object.inspect(CurbedNetwork));
console.log(CurbedNetwork['localhost']);
///
#<Hash:{'curbed.com': #<Hash:{'title': 'curbed', 'locale': 'ny', 'name': 'Curbed', 'email': '[email protected]'}>, 'eater.com': #<Hash:{'title': 'eater', 'locale': 'ny', 'name': 'Eater', 'email': '[email protected]'}>, 'racked.com': #<Hash:{'title': 'racked', 'locale': 'ny', 'name': 'Racked', 'email': '[email protected]'}>, 'la.curbed.com': #<Hash:{'title': 'curbed', 'locale': 'la', 'name': 'Curbed LA', 'email': '[email protected]'}>, 'la.eater.com': #<Hash:{'title': 'eater', 'locale': 'la', 'name': 'Eater LA', 'email': '[email protected]'}>, 'la.racked.com': #<Hash:{'title': 'racked', 'locale': 'la', 'name': 'Racked LA', 'email': '[email protected]'}>, 'sf.curbed.com': #<Hash:{'title': 'curbed', 'locale': 'sf', 'name': 'Curbed SF', 'email': '[email protected]'}>, 'sf.eater.com': #<Hash:{'title': 'eater', 'locale': 'sf', 'name': 'Eater SF', 'email': '[email protected]'}>, 'gridskipper.com': #<Hash:{'title': 'gridskipper', 'locale': 'international', 'name': 'Gridskipper', 'email': '[email protected]'}>, 'localhost': #<Hash:{'title': 'eater', 'locale': 'ny', 'name': 'Eater', 'email': '[email protected]'}>}>
undefined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment