Skip to content

Instantly share code, notes, and snippets.

@nirth
Created December 16, 2010 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nirth/743026 to your computer and use it in GitHub Desktop.
Save nirth/743026 to your computer and use it in GitHub Desktop.
if( value is Class )
value = _cache ?
router.cache.has( value ) ?
router.cache.retreive( value ):
router.cache.store( value, new value ):
new value;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment