{"action":"closed","issue":{"url":"https://api.github.com/repos/rgrannell1/engram.js/issues/22","labels_url":"https://api.github.com/repos/rgrannell1/engram.js/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/rgrannell1/engram.js/issues/22/comments","events_url":"https://api.github.com/repos/rgrannell1/engram.js/issues/22/events","html_url":"https://github.com/rgrannell1/engram.js/issues/22","id":90211143,"number":22,"title":"Add predicate routing","user":{"login":"rgrannell1","id":835618,"avatar_url":"https://avatars.githubusercontent.com/u/835618?v=3","gravatar_id":"","url":"https://api.github.com/users/rgrannell1","html_url":"https://github.com/rgrannell1","followers_url":"https://api.github.com/users/rgrannell1/followers","following_url":"https://api.github.com/users/rgrannell1/following{/other_user}","gists_url":"https://api.github.com/users/rgrannell1/gists{/gist_id}","starred_url":"https://api.github.com/users/rgrannell1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgrannell1/subscriptions","organizations_url":"https://api.github.com/users/rgrannell1/orgs","repos_url":"https://api.github.com/users/rgrannell1/repos","events_url":"https://api.github.com/users/rgrannell1/events{/privacy}","received_events_url":"https://api.github.com/users/rgrannell1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rgrannell1/engram.js/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rgrannell1/engram.js/milestones/7","html_url":"https://github.com/rgrannell1/engram.js/milestones/v0.8.0","labels_url":"https://api.github.com/repos/rgrannell1/engram.js/milestones/7/labels","id":1176168,"number":7,"title":"v0.8.0","description":"This milestone should improve engram's use of routing to control content loading and display.","creator":{"login":"rgrannell1","id":835618,"avatar_url":"https://avatars.githubusercontent.com/u/835618?v=3","gravatar_id":"","url":"https://api.github.com/users/rgrannell1","html_url":"https://github.com/rgrannell1","followers_url":"https://api.github.com/users/rgrannell1/followers","following_url":"https://api.github.com/users/rgrannell1/following{/other_user}","gists_url":"https://api.github.com/users/rgrannell1/gists{/gist_id}","starred_url":"https://api.github.com/users/rgrannell1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgrannell1/subscriptions","organizations_url":"https://api.github.com/users/rgrannell1/orgs","repos_url":"https://api.github.com/users/rgrannell1/repos","events_url":"https://api.github.com/users/rgrannell1/events{/privacy}","received_events_url":"https://api.github.com/users/rgrannell1/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":3,"state":"open","created_at":"2015-06-22T21:23:03Z","updated_at":"2015-07-23T21:41:56Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-06-22T20:58:09Z","updated_at":"2015-07-23T21:41:56Z","closed_at":"2015-07-23T21:41:56Z","body":"Should add routing language roughly like\r\n\r\n```\r\nnew Router( )\r\n.onChange(use\r\n   .where.path(path => path === 'home')\r\n   .where.path(path => {\r\n       return use(this).path(path => true && false)\r\n   })\r\n```\r\n\r\nThis is verbose, but a good compilation target for nicer syntax."}}