react-crossroads
Version:
Client side router for web applications built with React and utilizing the Flux architecture. The backing routing engine is CrossroadsJs.
24 lines (19 loc) • 450 B
text/coffeescript
{EventEmitter} = require 'events'
class AddressStore extends EventEmitter
constructor: ->
= [
name: 'Matt Smith'
twitter: '@mtscout6'
,
name: 'Corey Kaylor'
twitter: '@katokay'
,
name: 'Jeremy Miller'
twitter: '@jeremydmiller'
,
name: 'Bob Pace'
twitter: '@bob_pace'
]
getEntries: =>
getEntry: (id) => [id]
module.exports = AddressStore