{"action":"opened","issue":{"url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/409","repository_url":"https://api.github.com/repos/ProseMirror/prosemirror","labels_url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/409/labels{/name}","comments_url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/409/comments","events_url":"https://api.github.com/repos/ProseMirror/prosemirror/issues/409/events","html_url":"https://github.com/ProseMirror/prosemirror/issues/409","id":166502210,"number":409,"title":"expose class Subscription","user":{"login":"mitermayer","id":1042131,"avatar_url":"https://avatars.githubusercontent.com/u/1042131?v=3","gravatar_id":"","url":"https://api.github.com/users/mitermayer","html_url":"https://github.com/mitermayer","followers_url":"https://api.github.com/users/mitermayer/followers","following_url":"https://api.github.com/users/mitermayer/following{/other_user}","gists_url":"https://api.github.com/users/mitermayer/gists{/gist_id}","starred_url":"https://api.github.com/users/mitermayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitermayer/subscriptions","organizations_url":"https://api.github.com/users/mitermayer/orgs","repos_url":"https://api.github.com/users/mitermayer/repos","events_url":"https://api.github.com/users/mitermayer/events{/privacy}","received_events_url":"https://api.github.com/users/mitermayer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-20T06:05:27Z","updated_at":"2016-07-20T06:05:27Z","closed_at":null,"body":"Hi @marijnh,\r\n\r\nI understand the Subscription comes from another project. But would be great if we could through prosemirror create and dispatch custom events to avoid having to implement subscribers or implicitly requiring 'subscription' package.\r\n\r\nI was thinking something on the line of\r\n\r\n```\r\nconst {Subscription ... } = require(\"subscription\")\r\n\r\nclass ProseMirror {\r\n    ...\r\n    pm.Subscription = Subscription;\r\n    ...\r\n}\r\n```"}}
{"actor":{"display_login":"mitermayer"}}