{"action":"closed","issue":{"url":"https://api.github.com/repos/howardwu/react-openpublish-assets/issues/5","labels_url":"https://api.github.com/repos/howardwu/react-openpublish-assets/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/howardwu/react-openpublish-assets/issues/5/comments","events_url":"https://api.github.com/repos/howardwu/react-openpublish-assets/issues/5/events","html_url":"https://github.com/howardwu/react-openpublish-assets/issues/5","id":98824543,"number":5,"title":"add ability to read address from document.pathname in example.js","user":{"login":"williamcotton","id":13163,"avatar_url":"https://avatars.githubusercontent.com/u/13163?v=3","gravatar_id":"","url":"https://api.github.com/users/williamcotton","html_url":"https://github.com/williamcotton","followers_url":"https://api.github.com/users/williamcotton/followers","following_url":"https://api.github.com/users/williamcotton/following{/other_user}","gists_url":"https://api.github.com/users/williamcotton/gists{/gist_id}","starred_url":"https://api.github.com/users/williamcotton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamcotton/subscriptions","organizations_url":"https://api.github.com/users/williamcotton/orgs","repos_url":"https://api.github.com/users/williamcotton/repos","events_url":"https://api.github.com/users/williamcotton/events{/privacy}","received_events_url":"https://api.github.com/users/williamcotton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-03T19:46:48Z","updated_at":"2015-08-03T20:07:47Z","closed_at":"2015-08-03T20:07:47Z","body":"```js\r\nvar React = require('react');\r\n\r\nvar OpenPublishAssets = require('../src');\r\n\r\nvar address =  'mjf6CRReqGSyvbgryjE3fbGjptRRfAL7cg';\r\nif (window.location.search.split(\"?address=\") && window.location.search.split(\"?address=\")[1]) {\r\n  address = window.location.search.split(\"?address=\")[1];\r\n}\r\n\r\nReact.render(\r\n  React.createElement(OpenPublishAssets, { user_id: address }),\r\n  document.getElementById('example')\r\n);\r\n```"}}