{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/stephenplusplus/string-format-obj/pulls/1","id":64060304,"html_url":"https://github.com/stephenplusplus/string-format-obj/pull/1","diff_url":"https://github.com/stephenplusplus/string-format-obj/pull/1.diff","patch_url":"https://github.com/stephenplusplus/string-format-obj/pull/1.patch","issue_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/issues/1","number":1,"state":"closed","locked":false,"title":"add template caching mechanism","user":{"login":"callmehiphop","id":1707267,"avatar_url":"https://avatars.githubusercontent.com/u/1707267?v=3","gravatar_id":"","url":"https://api.github.com/users/callmehiphop","html_url":"https://github.com/callmehiphop","followers_url":"https://api.github.com/users/callmehiphop/followers","following_url":"https://api.github.com/users/callmehiphop/following{/other_user}","gists_url":"https://api.github.com/users/callmehiphop/gists{/gist_id}","starred_url":"https://api.github.com/users/callmehiphop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callmehiphop/subscriptions","organizations_url":"https://api.github.com/users/callmehiphop/orgs","repos_url":"https://api.github.com/users/callmehiphop/repos","events_url":"https://api.github.com/users/callmehiphop/events{/privacy}","received_events_url":"https://api.github.com/users/callmehiphop/received_events","type":"User","site_admin":false},"body":"After doing this, I kinda realized I could just as easily do something like\r\n\r\n```js\r\nvar formatFunc = format.bind(null, str);\r\n```\r\n\r\nWhich maybe makes this a totally unnecessary feature.. so feel free to not accept this, haha.","created_at":"2016-03-24T16:27:01Z","updated_at":"2016-03-24T16:31:21Z","closed_at":"2016-03-24T16:31:21Z","merged_at":"2016-03-24T16:31:21Z","merge_commit_sha":"297dc8c5e1ade16c31f0bbcaecbac8a7ee390945","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/pulls/1/commits","review_comments_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/pulls/1/comments","review_comment_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/issues/1/comments","statuses_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/statuses/850378258f0dd6e2a7e841b9e6419f63ce53dece","head":{"label":"callmehiphop:template-caching","ref":"template-caching","sha":"850378258f0dd6e2a7e841b9e6419f63ce53dece","user":{"login":"callmehiphop","id":1707267,"avatar_url":"https://avatars.githubusercontent.com/u/1707267?v=3","gravatar_id":"","url":"https://api.github.com/users/callmehiphop","html_url":"https://github.com/callmehiphop","followers_url":"https://api.github.com/users/callmehiphop/followers","following_url":"https://api.github.com/users/callmehiphop/following{/other_user}","gists_url":"https://api.github.com/users/callmehiphop/gists{/gist_id}","starred_url":"https://api.github.com/users/callmehiphop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callmehiphop/subscriptions","organizations_url":"https://api.github.com/users/callmehiphop/orgs","repos_url":"https://api.github.com/users/callmehiphop/repos","events_url":"https://api.github.com/users/callmehiphop/events{/privacy}","received_events_url":"https://api.github.com/users/callmehiphop/received_events","type":"User","site_admin":false},"repo":{"id":54656100,"name":"string-format-obj","full_name":"callmehiphop/string-format-obj","owner":{"login":"callmehiphop","id":1707267,"avatar_url":"https://avatars.githubusercontent.com/u/1707267?v=3","gravatar_id":"","url":"https://api.github.com/users/callmehiphop","html_url":"https://github.com/callmehiphop","followers_url":"https://api.github.com/users/callmehiphop/followers","following_url":"https://api.github.com/users/callmehiphop/following{/other_user}","gists_url":"https://api.github.com/users/callmehiphop/gists{/gist_id}","starred_url":"https://api.github.com/users/callmehiphop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callmehiphop/subscriptions","organizations_url":"https://api.github.com/users/callmehiphop/orgs","repos_url":"https://api.github.com/users/callmehiphop/repos","events_url":"https://api.github.com/users/callmehiphop/events{/privacy}","received_events_url":"https://api.github.com/users/callmehiphop/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/callmehiphop/string-format-obj","description":"Replace tokens from a string with values of an object","fork":true,"url":"https://api.github.com/repos/callmehiphop/string-format-obj","forks_url":"https://api.github.com/repos/callmehiphop/string-format-obj/forks","keys_url":"https://api.github.com/repos/callmehiphop/string-format-obj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/callmehiphop/string-format-obj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/callmehiphop/string-format-obj/teams","hooks_url":"https://api.github.com/repos/callmehiphop/string-format-obj/hooks","issue_events_url":"https://api.github.com/repos/callmehiphop/string-format-obj/issues/events{/number}","events_url":"https://api.github.com/repos/callmehiphop/string-format-obj/events","assignees_url":"https://api.github.com/repos/callmehiphop/string-format-obj/assignees{/user}","branches_url":"https://api.github.com/repos/callmehiphop/string-format-obj/branches{/branch}","tags_url":"https://api.github.com/repos/callmehiphop/string-format-obj/tags","blobs_url":"https://api.github.com/repos/callmehiphop/string-format-obj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/callmehiphop/string-format-obj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/callmehiphop/string-format-obj/git/refs{/sha}","trees_url":"https://api.github.com/repos/callmehiphop/string-format-obj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/callmehiphop/string-format-obj/statuses/{sha}","languages_url":"https://api.github.com/repos/callmehiphop/string-format-obj/languages","stargazers_url":"https://api.github.com/repos/callmehiphop/string-format-obj/stargazers","contributors_url":"https://api.github.com/repos/callmehiphop/string-format-obj/contributors","subscribers_url":"https://api.github.com/repos/callmehiphop/string-format-obj/subscribers","subscription_url":"https://api.github.com/repos/callmehiphop/string-format-obj/subscription","commits_url":"https://api.github.com/repos/callmehiphop/string-format-obj/commits{/sha}","git_commits_url":"https://api.github.com/repos/callmehiphop/string-format-obj/git/commits{/sha}","comments_url":"https://api.github.com/repos/callmehiphop/string-format-obj/comments{/number}","issue_comment_url":"https://api.github.com/repos/callmehiphop/string-format-obj/issues/comments{/number}","contents_url":"https://api.github.com/repos/callmehiphop/string-format-obj/contents/{+path}","compare_url":"https://api.github.com/repos/callmehiphop/string-format-obj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/callmehiphop/string-format-obj/merges","archive_url":"https://api.github.com/repos/callmehiphop/string-format-obj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/callmehiphop/string-format-obj/downloads","issues_url":"https://api.github.com/repos/callmehiphop/string-format-obj/issues{/number}","pulls_url":"https://api.github.com/repos/callmehiphop/string-format-obj/pulls{/number}","milestones_url":"https://api.github.com/repos/callmehiphop/string-format-obj/milestones{/number}","notifications_url":"https://api.github.com/repos/callmehiphop/string-format-obj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/callmehiphop/string-format-obj/labels{/name}","releases_url":"https://api.github.com/repos/callmehiphop/string-format-obj/releases{/id}","deployments_url":"https://api.github.com/repos/callmehiphop/string-format-obj/deployments","created_at":"2016-03-24T16:13:48Z","updated_at":"2016-03-24T16:13:49Z","pushed_at":"2016-03-24T16:24:18Z","git_url":"git://github.com/callmehiphop/string-format-obj.git","ssh_url":"git@github.com:callmehiphop/string-format-obj.git","clone_url":"https://github.com/callmehiphop/string-format-obj.git","svn_url":"https://github.com/callmehiphop/string-format-obj","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"stephenplusplus:master","ref":"master","sha":"2716a4b4f7b95c4ac8ae5457fc4e68d319022116","user":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars.githubusercontent.com/u/723048?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"repo":{"id":39973342,"name":"string-format-obj","full_name":"stephenplusplus/string-format-obj","owner":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars.githubusercontent.com/u/723048?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stephenplusplus/string-format-obj","description":"Replace tokens from a string with values of an object","fork":false,"url":"https://api.github.com/repos/stephenplusplus/string-format-obj","forks_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/forks","keys_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/teams","hooks_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/hooks","issue_events_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/issues/events{/number}","events_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/events","assignees_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/assignees{/user}","branches_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/branches{/branch}","tags_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/tags","blobs_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/git/refs{/sha}","trees_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/statuses/{sha}","languages_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/languages","stargazers_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/stargazers","contributors_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/contributors","subscribers_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/subscribers","subscription_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/subscription","commits_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/commits{/sha}","git_commits_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/git/commits{/sha}","comments_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/comments{/number}","issue_comment_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/issues/comments{/number}","contents_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/contents/{+path}","compare_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/merges","archive_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/downloads","issues_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/issues{/number}","pulls_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/pulls{/number}","milestones_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/milestones{/number}","notifications_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/labels{/name}","releases_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/releases{/id}","deployments_url":"https://api.github.com/repos/stephenplusplus/string-format-obj/deployments","created_at":"2015-07-30T21:29:20Z","updated_at":"2015-07-30T21:29:40Z","pushed_at":"2016-03-24T16:31:21Z","git_url":"git://github.com/stephenplusplus/string-format-obj.git","ssh_url":"git@github.com:stephenplusplus/string-format-obj.git","clone_url":"https://github.com/stephenplusplus/string-format-obj.git","svn_url":"https://github.com/stephenplusplus/string-format-obj","homepage":null,"size":116,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stephenplusplus/string-format-obj/pulls/1"},"html":{"href":"https://github.com/stephenplusplus/string-format-obj/pull/1"},"issue":{"href":"https://api.github.com/repos/stephenplusplus/string-format-obj/issues/1"},"comments":{"href":"https://api.github.com/repos/stephenplusplus/string-format-obj/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/stephenplusplus/string-format-obj/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/stephenplusplus/string-format-obj/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stephenplusplus/string-format-obj/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/stephenplusplus/string-format-obj/statuses/850378258f0dd6e2a7e841b9e6419f63ce53dece"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars.githubusercontent.com/u/723048?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":28,"deletions":1,"changed_files":3}}