{"action":"closed","number":23,"pull_request":{"url":"https://api.github.com/repos/filepicker/filepicker-js/pulls/23","id":58298984,"html_url":"https://github.com/filepicker/filepicker-js/pull/23","diff_url":"https://github.com/filepicker/filepicker-js/pull/23.diff","patch_url":"https://github.com/filepicker/filepicker-js/pull/23.patch","issue_url":"https://api.github.com/repos/filepicker/filepicker-js/issues/23","number":23,"state":"closed","locked":false,"title":"Responsive images lookup can be triggered at any time","user":{"login":"szwacz","id":4573903,"avatar_url":"https://avatars.githubusercontent.com/u/4573903?v=3","gravatar_id":"","url":"https://api.github.com/users/szwacz","html_url":"https://github.com/szwacz","followers_url":"https://api.github.com/users/szwacz/followers","following_url":"https://api.github.com/users/szwacz/following{/other_user}","gists_url":"https://api.github.com/users/szwacz/gists{/gist_id}","starred_url":"https://api.github.com/users/szwacz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szwacz/subscriptions","organizations_url":"https://api.github.com/users/szwacz/orgs","repos_url":"https://api.github.com/users/szwacz/repos","events_url":"https://api.github.com/users/szwacz/events{/privacy}","received_events_url":"https://api.github.com/users/szwacz/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/filepicker/filepicker-js/issues/14\r\nYou can do two things with this API:\r\n\r\n1) By calling \r\n```js\r\nfilepicker.responsive();\r\n``` \r\nat any moment full lookup for images with `data-fp-src` will be performed.\r\n\r\n2) By passing as a parameter to this method DOM image element, \r\n```js\r\nvar img = document.querySelector('.my-img');\r\nfilepicker.responsive(img);\r\n```\r\nonly this one image will be transformed to responsive.\r\n\r\nTested usage with masonry.js and unveil.js. Here are the samples: https://github.com/filepicker/filepicker-samples/tree/master/responsive_images","created_at":"2016-02-04T15:07:45Z","updated_at":"2016-02-08T09:18:55Z","closed_at":"2016-02-08T09:18:55Z","merged_at":"2016-02-08T09:18:55Z","merge_commit_sha":"b70a9d52708a6fdd042ee17f3c1794b6197ac13d","assignee":{"login":"krystiangw","id":6939376,"avatar_url":"https://avatars.githubusercontent.com/u/6939376?v=3","gravatar_id":"","url":"https://api.github.com/users/krystiangw","html_url":"https://github.com/krystiangw","followers_url":"https://api.github.com/users/krystiangw/followers","following_url":"https://api.github.com/users/krystiangw/following{/other_user}","gists_url":"https://api.github.com/users/krystiangw/gists{/gist_id}","starred_url":"https://api.github.com/users/krystiangw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krystiangw/subscriptions","organizations_url":"https://api.github.com/users/krystiangw/orgs","repos_url":"https://api.github.com/users/krystiangw/repos","events_url":"https://api.github.com/users/krystiangw/events{/privacy}","received_events_url":"https://api.github.com/users/krystiangw/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/filepicker/filepicker-js/pulls/23/commits","review_comments_url":"https://api.github.com/repos/filepicker/filepicker-js/pulls/23/comments","review_comment_url":"https://api.github.com/repos/filepicker/filepicker-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/filepicker/filepicker-js/issues/23/comments","statuses_url":"https://api.github.com/repos/filepicker/filepicker-js/statuses/17e9438f494a877ca5d16b40afd44eb4a252d196","head":{"label":"filepicker:responsive-trigger","ref":"responsive-trigger","sha":"17e9438f494a877ca5d16b40afd44eb4a252d196","user":{"login":"filepicker","id":11557672,"avatar_url":"https://avatars.githubusercontent.com/u/11557672?v=3","gravatar_id":"","url":"https://api.github.com/users/filepicker","html_url":"https://github.com/filepicker","followers_url":"https://api.github.com/users/filepicker/followers","following_url":"https://api.github.com/users/filepicker/following{/other_user}","gists_url":"https://api.github.com/users/filepicker/gists{/gist_id}","starred_url":"https://api.github.com/users/filepicker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filepicker/subscriptions","organizations_url":"https://api.github.com/users/filepicker/orgs","repos_url":"https://api.github.com/users/filepicker/repos","events_url":"https://api.github.com/users/filepicker/events{/privacy}","received_events_url":"https://api.github.com/users/filepicker/received_events","type":"Organization","site_admin":false},"repo":{"id":43147531,"name":"filepicker-js","full_name":"filepicker/filepicker-js","owner":{"login":"filepicker","id":11557672,"avatar_url":"https://avatars.githubusercontent.com/u/11557672?v=3","gravatar_id":"","url":"https://api.github.com/users/filepicker","html_url":"https://github.com/filepicker","followers_url":"https://api.github.com/users/filepicker/followers","following_url":"https://api.github.com/users/filepicker/following{/other_user}","gists_url":"https://api.github.com/users/filepicker/gists{/gist_id}","starred_url":"https://api.github.com/users/filepicker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filepicker/subscriptions","organizations_url":"https://api.github.com/users/filepicker/orgs","repos_url":"https://api.github.com/users/filepicker/repos","events_url":"https://api.github.com/users/filepicker/events{/privacy}","received_events_url":"https://api.github.com/users/filepicker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/filepicker/filepicker-js","description":"Filepicker javascript library","fork":false,"url":"https://api.github.com/repos/filepicker/filepicker-js","forks_url":"https://api.github.com/repos/filepicker/filepicker-js/forks","keys_url":"https://api.github.com/repos/filepicker/filepicker-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/filepicker/filepicker-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/filepicker/filepicker-js/teams","hooks_url":"https://api.github.com/repos/filepicker/filepicker-js/hooks","issue_events_url":"https://api.github.com/repos/filepicker/filepicker-js/issues/events{/number}","events_url":"https://api.github.com/repos/filepicker/filepicker-js/events","assignees_url":"https://api.github.com/repos/filepicker/filepicker-js/assignees{/user}","branches_url":"https://api.github.com/repos/filepicker/filepicker-js/branches{/branch}","tags_url":"https://api.github.com/repos/filepicker/filepicker-js/tags","blobs_url":"https://api.github.com/repos/filepicker/filepicker-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/filepicker/filepicker-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/filepicker/filepicker-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/filepicker/filepicker-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/filepicker/filepicker-js/statuses/{sha}","languages_url":"https://api.github.com/repos/filepicker/filepicker-js/languages","stargazers_url":"https://api.github.com/repos/filepicker/filepicker-js/stargazers","contributors_url":"https://api.github.com/repos/filepicker/filepicker-js/contributors","subscribers_url":"https://api.github.com/repos/filepicker/filepicker-js/subscribers","subscription_url":"https://api.github.com/repos/filepicker/filepicker-js/subscription","commits_url":"https://api.github.com/repos/filepicker/filepicker-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/filepicker/filepicker-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/filepicker/filepicker-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/filepicker/filepicker-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/filepicker/filepicker-js/contents/{+path}","compare_url":"https://api.github.com/repos/filepicker/filepicker-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/filepicker/filepicker-js/merges","archive_url":"https://api.github.com/repos/filepicker/filepicker-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/filepicker/filepicker-js/downloads","issues_url":"https://api.github.com/repos/filepicker/filepicker-js/issues{/number}","pulls_url":"https://api.github.com/repos/filepicker/filepicker-js/pulls{/number}","milestones_url":"https://api.github.com/repos/filepicker/filepicker-js/milestones{/number}","notifications_url":"https://api.github.com/repos/filepicker/filepicker-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/filepicker/filepicker-js/labels{/name}","releases_url":"https://api.github.com/repos/filepicker/filepicker-js/releases{/id}","deployments_url":"https://api.github.com/repos/filepicker/filepicker-js/deployments","created_at":"2015-09-25T14:10:17Z","updated_at":"2016-01-20T01:11:52Z","pushed_at":"2016-02-08T09:18:55Z","git_url":"git://github.com/filepicker/filepicker-js.git","ssh_url":"git@github.com:filepicker/filepicker-js.git","clone_url":"https://github.com/filepicker/filepicker-js.git","svn_url":"https://github.com/filepicker/filepicker-js","homepage":null,"size":505,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":6,"forks":7,"open_issues":6,"watchers":8,"default_branch":"develop"}},"base":{"label":"filepicker:develop","ref":"develop","sha":"ab951e986f001fcc2b3fb6ee81ff46fc5b511120","user":{"login":"filepicker","id":11557672,"avatar_url":"https://avatars.githubusercontent.com/u/11557672?v=3","gravatar_id":"","url":"https://api.github.com/users/filepicker","html_url":"https://github.com/filepicker","followers_url":"https://api.github.com/users/filepicker/followers","following_url":"https://api.github.com/users/filepicker/following{/other_user}","gists_url":"https://api.github.com/users/filepicker/gists{/gist_id}","starred_url":"https://api.github.com/users/filepicker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filepicker/subscriptions","organizations_url":"https://api.github.com/users/filepicker/orgs","repos_url":"https://api.github.com/users/filepicker/repos","events_url":"https://api.github.com/users/filepicker/events{/privacy}","received_events_url":"https://api.github.com/users/filepicker/received_events","type":"Organization","site_admin":false},"repo":{"id":43147531,"name":"filepicker-js","full_name":"filepicker/filepicker-js","owner":{"login":"filepicker","id":11557672,"avatar_url":"https://avatars.githubusercontent.com/u/11557672?v=3","gravatar_id":"","url":"https://api.github.com/users/filepicker","html_url":"https://github.com/filepicker","followers_url":"https://api.github.com/users/filepicker/followers","following_url":"https://api.github.com/users/filepicker/following{/other_user}","gists_url":"https://api.github.com/users/filepicker/gists{/gist_id}","starred_url":"https://api.github.com/users/filepicker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filepicker/subscriptions","organizations_url":"https://api.github.com/users/filepicker/orgs","repos_url":"https://api.github.com/users/filepicker/repos","events_url":"https://api.github.com/users/filepicker/events{/privacy}","received_events_url":"https://api.github.com/users/filepicker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/filepicker/filepicker-js","description":"Filepicker javascript library","fork":false,"url":"https://api.github.com/repos/filepicker/filepicker-js","forks_url":"https://api.github.com/repos/filepicker/filepicker-js/forks","keys_url":"https://api.github.com/repos/filepicker/filepicker-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/filepicker/filepicker-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/filepicker/filepicker-js/teams","hooks_url":"https://api.github.com/repos/filepicker/filepicker-js/hooks","issue_events_url":"https://api.github.com/repos/filepicker/filepicker-js/issues/events{/number}","events_url":"https://api.github.com/repos/filepicker/filepicker-js/events","assignees_url":"https://api.github.com/repos/filepicker/filepicker-js/assignees{/user}","branches_url":"https://api.github.com/repos/filepicker/filepicker-js/branches{/branch}","tags_url":"https://api.github.com/repos/filepicker/filepicker-js/tags","blobs_url":"https://api.github.com/repos/filepicker/filepicker-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/filepicker/filepicker-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/filepicker/filepicker-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/filepicker/filepicker-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/filepicker/filepicker-js/statuses/{sha}","languages_url":"https://api.github.com/repos/filepicker/filepicker-js/languages","stargazers_url":"https://api.github.com/repos/filepicker/filepicker-js/stargazers","contributors_url":"https://api.github.com/repos/filepicker/filepicker-js/contributors","subscribers_url":"https://api.github.com/repos/filepicker/filepicker-js/subscribers","subscription_url":"https://api.github.com/repos/filepicker/filepicker-js/subscription","commits_url":"https://api.github.com/repos/filepicker/filepicker-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/filepicker/filepicker-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/filepicker/filepicker-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/filepicker/filepicker-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/filepicker/filepicker-js/contents/{+path}","compare_url":"https://api.github.com/repos/filepicker/filepicker-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/filepicker/filepicker-js/merges","archive_url":"https://api.github.com/repos/filepicker/filepicker-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/filepicker/filepicker-js/downloads","issues_url":"https://api.github.com/repos/filepicker/filepicker-js/issues{/number}","pulls_url":"https://api.github.com/repos/filepicker/filepicker-js/pulls{/number}","milestones_url":"https://api.github.com/repos/filepicker/filepicker-js/milestones{/number}","notifications_url":"https://api.github.com/repos/filepicker/filepicker-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/filepicker/filepicker-js/labels{/name}","releases_url":"https://api.github.com/repos/filepicker/filepicker-js/releases{/id}","deployments_url":"https://api.github.com/repos/filepicker/filepicker-js/deployments","created_at":"2015-09-25T14:10:17Z","updated_at":"2016-01-20T01:11:52Z","pushed_at":"2016-02-08T09:18:55Z","git_url":"git://github.com/filepicker/filepicker-js.git","ssh_url":"git@github.com:filepicker/filepicker-js.git","clone_url":"https://github.com/filepicker/filepicker-js.git","svn_url":"https://github.com/filepicker/filepicker-js","homepage":null,"size":505,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":6,"forks":7,"open_issues":6,"watchers":8,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/filepicker/filepicker-js/pulls/23"},"html":{"href":"https://github.com/filepicker/filepicker-js/pull/23"},"issue":{"href":"https://api.github.com/repos/filepicker/filepicker-js/issues/23"},"comments":{"href":"https://api.github.com/repos/filepicker/filepicker-js/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/filepicker/filepicker-js/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/filepicker/filepicker-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/filepicker/filepicker-js/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/filepicker/filepicker-js/statuses/17e9438f494a877ca5d16b40afd44eb4a252d196"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"krystiangw","id":6939376,"avatar_url":"https://avatars.githubusercontent.com/u/6939376?v=3","gravatar_id":"","url":"https://api.github.com/users/krystiangw","html_url":"https://github.com/krystiangw","followers_url":"https://api.github.com/users/krystiangw/followers","following_url":"https://api.github.com/users/krystiangw/following{/other_user}","gists_url":"https://api.github.com/users/krystiangw/gists{/gist_id}","starred_url":"https://api.github.com/users/krystiangw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krystiangw/subscriptions","organizations_url":"https://api.github.com/users/krystiangw/orgs","repos_url":"https://api.github.com/users/krystiangw/repos","events_url":"https://api.github.com/users/krystiangw/events{/privacy}","received_events_url":"https://api.github.com/users/krystiangw/received_events","type":"User","site_admin":false},"comments":3,"review_comments":3,"commits":3,"additions":118,"deletions":18,"changed_files":3}}