{"action":"created","issue":{"url":"https://api.github.com/repos/vdemedes/ronin/issues/14","labels_url":"https://api.github.com/repos/vdemedes/ronin/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/vdemedes/ronin/issues/14/comments","events_url":"https://api.github.com/repos/vdemedes/ronin/issues/14/events","html_url":"https://github.com/vdemedes/ronin/issues/14","id":60785145,"number":14,"title":"run middleware before and after","user":{"login":"agonbina","id":3496783,"avatar_url":"https://avatars.githubusercontent.com/u/3496783?v=3","gravatar_id":"","url":"https://api.github.com/users/agonbina","html_url":"https://github.com/agonbina","followers_url":"https://api.github.com/users/agonbina/followers","following_url":"https://api.github.com/users/agonbina/following{/other_user}","gists_url":"https://api.github.com/users/agonbina/gists{/gist_id}","starred_url":"https://api.github.com/users/agonbina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agonbina/subscriptions","organizations_url":"https://api.github.com/users/agonbina/orgs","repos_url":"https://api.github.com/users/agonbina/repos","events_url":"https://api.github.com/users/agonbina/events{/privacy}","received_events_url":"https://api.github.com/users/agonbina/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-12T08:23:15Z","updated_at":"2015-03-17T13:49:39Z","closed_at":null,"body":"would be great if we can choose to run the middleware functions either before or after ```.run```\r\nInstead of ```use```:\r\n```js\r\n{\r\n  before: [  'midd1'  ],\r\n  after: [ 'midd2' ]\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/vdemedes/ronin/issues/comments/82361297","html_url":"https://github.com/vdemedes/ronin/issues/14#issuecomment-82361297","issue_url":"https://api.github.com/repos/vdemedes/ronin/issues/14","id":82361297,"user":{"login":"agonbina","id":3496783,"avatar_url":"https://avatars.githubusercontent.com/u/3496783?v=3","gravatar_id":"","url":"https://api.github.com/users/agonbina","html_url":"https://github.com/agonbina","followers_url":"https://api.github.com/users/agonbina/followers","following_url":"https://api.github.com/users/agonbina/following{/other_user}","gists_url":"https://api.github.com/users/agonbina/gists{/gist_id}","starred_url":"https://api.github.com/users/agonbina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agonbina/subscriptions","organizations_url":"https://api.github.com/users/agonbina/orgs","repos_url":"https://api.github.com/users/agonbina/repos","events_url":"https://api.github.com/users/agonbina/events{/privacy}","received_events_url":"https://api.github.com/users/agonbina/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T13:49:39Z","updated_at":"2015-03-17T13:49:39Z","body":":+1: I'll just use ```this.global[middleware-id]``` when I need it"}}