{"action":"created","issue":{"url":"https://api.github.com/repos/paulirish/memory-stats.js/issues/7","labels_url":"https://api.github.com/repos/paulirish/memory-stats.js/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/paulirish/memory-stats.js/issues/7/comments","events_url":"https://api.github.com/repos/paulirish/memory-stats.js/issues/7/events","html_url":"https://github.com/paulirish/memory-stats.js/pull/7","id":57282540,"number":7,"title":"Added bookmarklet for embedding on any page","user":{"login":"omahlama","id":1110213,"avatar_url":"https://avatars.githubusercontent.com/u/1110213?v=3","gravatar_id":"","url":"https://api.github.com/users/omahlama","html_url":"https://github.com/omahlama","followers_url":"https://api.github.com/users/omahlama/followers","following_url":"https://api.github.com/users/omahlama/following{/other_user}","gists_url":"https://api.github.com/users/omahlama/gists{/gist_id}","starred_url":"https://api.github.com/users/omahlama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omahlama/subscriptions","organizations_url":"https://api.github.com/users/omahlama/orgs","repos_url":"https://api.github.com/users/omahlama/repos","events_url":"https://api.github.com/users/omahlama/events{/privacy}","received_events_url":"https://api.github.com/users/omahlama/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-11T06:47:27Z","updated_at":"2015-02-12T17:30:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/paulirish/memory-stats.js/pulls/7","html_url":"https://github.com/paulirish/memory-stats.js/pull/7","diff_url":"https://github.com/paulirish/memory-stats.js/pull/7.diff","patch_url":"https://github.com/paulirish/memory-stats.js/pull/7.patch"},"body":"This bookmarklet is maintainable, because it just loads the script from github. You will have to update the commit link when you make modifications to `bookmarklet.js`, but you can safely ignore this feature when modifying the actual script.\r\n\r\nBecause the bookmarklet uses rawgit.com, you will have to change the url to point to the correct, non-forked repo after merging in master. Steps to do that:\r\n* Go to the newest commit id in github, browse files and go to bookmarklet.js page\r\n* Copy the url to http://rawgit.com -> you get the rawgit url. Use the production one.\r\n* Change the bookmarklet url in README.md to point to the new rawgit url.\r\n\r\nThe reason that we need a commit id url (copied from rawgit.com): \"It's best to use a specific tag or commit hash in the URL (not a branch). Files are cached permanently after the first request\""},"comment":{"url":"https://api.github.com/repos/paulirish/memory-stats.js/issues/comments/74114066","html_url":"https://github.com/paulirish/memory-stats.js/pull/7#issuecomment-74114066","issue_url":"https://api.github.com/repos/paulirish/memory-stats.js/issues/7","id":74114066,"user":{"login":"paulirish","id":39191,"avatar_url":"https://avatars.githubusercontent.com/u/39191?v=3","gravatar_id":"","url":"https://api.github.com/users/paulirish","html_url":"https://github.com/paulirish","followers_url":"https://api.github.com/users/paulirish/followers","following_url":"https://api.github.com/users/paulirish/following{/other_user}","gists_url":"https://api.github.com/users/paulirish/gists{/gist_id}","starred_url":"https://api.github.com/users/paulirish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulirish/subscriptions","organizations_url":"https://api.github.com/users/paulirish/orgs","repos_url":"https://api.github.com/users/paulirish/repos","events_url":"https://api.github.com/users/paulirish/events{/privacy}","received_events_url":"https://api.github.com/users/paulirish/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T17:30:46Z","updated_at":"2015-02-12T17:30:46Z","body":"One more nit. thanks for the rebase."}}