{"action":"created","issue":{"url":"https://api.github.com/repos/foam-framework/foam2-experimental/issues/122","repository_url":"https://api.github.com/repos/foam-framework/foam2-experimental","labels_url":"https://api.github.com/repos/foam-framework/foam2-experimental/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/foam-framework/foam2-experimental/issues/122/comments","events_url":"https://api.github.com/repos/foam-framework/foam2-experimental/issues/122/events","html_url":"https://github.com/foam-framework/foam2-experimental/issues/122","id":178083949,"number":122,"title":"Need DSL version of sub() for Element","user":{"login":"kgrgreer","id":7460787,"avatar_url":"https://avatars.githubusercontent.com/u/7460787?v=3","gravatar_id":"","url":"https://api.github.com/users/kgrgreer","html_url":"https://github.com/kgrgreer","followers_url":"https://api.github.com/users/kgrgreer/followers","following_url":"https://api.github.com/users/kgrgreer/following{/other_user}","gists_url":"https://api.github.com/users/kgrgreer/gists{/gist_id}","starred_url":"https://api.github.com/users/kgrgreer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgrgreer/subscriptions","organizations_url":"https://api.github.com/users/kgrgreer/orgs","repos_url":"https://api.github.com/users/kgrgreer/repos","events_url":"https://api.github.com/users/kgrgreer/events{/privacy}","received_events_url":"https://api.github.com/users/kgrgreer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kgrgreer","id":7460787,"avatar_url":"https://avatars.githubusercontent.com/u/7460787?v=3","gravatar_id":"","url":"https://api.github.com/users/kgrgreer","html_url":"https://github.com/kgrgreer","followers_url":"https://api.github.com/users/kgrgreer/followers","following_url":"https://api.github.com/users/kgrgreer/following{/other_user}","gists_url":"https://api.github.com/users/kgrgreer/gists{/gist_id}","starred_url":"https://api.github.com/users/kgrgreer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgrgreer/subscriptions","organizations_url":"https://api.github.com/users/kgrgreer/orgs","repos_url":"https://api.github.com/users/kgrgreer/repos","events_url":"https://api.github.com/users/kgrgreer/events{/privacy}","received_events_url":"https://api.github.com/users/kgrgreer/received_events","type":"User","site_admin":false},"assignees":[{"login":"kgrgreer","id":7460787,"avatar_url":"https://avatars.githubusercontent.com/u/7460787?v=3","gravatar_id":"","url":"https://api.github.com/users/kgrgreer","html_url":"https://github.com/kgrgreer","followers_url":"https://api.github.com/users/kgrgreer/followers","following_url":"https://api.github.com/users/kgrgreer/following{/other_user}","gists_url":"https://api.github.com/users/kgrgreer/gists{/gist_id}","starred_url":"https://api.github.com/users/kgrgreer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgrgreer/subscriptions","organizations_url":"https://api.github.com/users/kgrgreer/orgs","repos_url":"https://api.github.com/users/kgrgreer/repos","events_url":"https://api.github.com/users/kgrgreer/events{/privacy}","received_events_url":"https://api.github.com/users/kgrgreer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-09-20T14:55:12Z","updated_at":"2016-09-22T17:48:39Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/foam-framework/foam2-experimental/issues/comments/248976733","html_url":"https://github.com/foam-framework/foam2-experimental/issues/122#issuecomment-248976733","issue_url":"https://api.github.com/repos/foam-framework/foam2-experimental/issues/122","id":248976733,"user":{"login":"kgrgreer","id":7460787,"avatar_url":"https://avatars.githubusercontent.com/u/7460787?v=3","gravatar_id":"","url":"https://api.github.com/users/kgrgreer","html_url":"https://github.com/kgrgreer","followers_url":"https://api.github.com/users/kgrgreer/followers","following_url":"https://api.github.com/users/kgrgreer/following{/other_user}","gists_url":"https://api.github.com/users/kgrgreer/gists{/gist_id}","starred_url":"https://api.github.com/users/kgrgreer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgrgreer/subscriptions","organizations_url":"https://api.github.com/users/kgrgreer/orgs","repos_url":"https://api.github.com/users/kgrgreer/repos","events_url":"https://api.github.com/users/kgrgreer/events{/privacy}","received_events_url":"https://api.github.com/users/kgrgreer/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T17:48:39Z","updated_at":"2016-09-22T17:48:39Z","body":"@adamvy This works now:\r\n\r\ne.call(function(e) { this.sub(...); })...\r\n\r\nThe call() method on Element let's you break into a function where 'this' is the Element and then resume without breaking the flow."}}
{"actor":{"display_login":"kgrgreer"}}