{"action":"created","comment":{"url":"https://api.github.com/repos/jstransformers/jstransformer/pulls/comments/33840957","id":33840957,"diff_hunk":"@@ -130,6 +130,12 @@ Transformer.prototype.can = function (method) {\n \n Transformer.prototype.compile = function (str, options) {\n   if (!this.can('compile')) {\n+    if (this.can('render')) {\n+      var _this = this;\n+      return tr.normalizeFn(function (locals) {\n+        return tr.normalize(_this._tr.render(str, options, locals));","path":"index.js","position":7,"original_position":7,"commit_id":"1892187185ce5d7fa8d71d2ab29bc4a6c03ac9f2","original_commit_id":"1892187185ce5d7fa8d71d2ab29bc4a6c03ac9f2","user":{"login":"TimothyGu","id":1538624,"avatar_url":"https://avatars.githubusercontent.com/u/1538624?v=3","gravatar_id":"","url":"https://api.github.com/users/TimothyGu","html_url":"https://github.com/TimothyGu","followers_url":"https://api.github.com/users/TimothyGu/followers","following_url":"https://api.github.com/users/TimothyGu/following{/other_user}","gists_url":"https://api.github.com/users/TimothyGu/gists{/gist_id}","starred_url":"https://api.github.com/users/TimothyGu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimothyGu/subscriptions","organizations_url":"https://api.github.com/users/TimothyGu/orgs","repos_url":"https://api.github.com/users/TimothyGu/repos","events_url":"https://api.github.com/users/TimothyGu/events{/privacy}","received_events_url":"https://api.github.com/users/TimothyGu/received_events","type":"User","site_admin":false},"body":"Odd. I'll take a look.","created_at":"2015-07-03T05:18:26Z","updated_at":"2015-07-03T05:18:26Z","html_url":"https://github.com/jstransformers/jstransformer/pull/28#discussion_r33840957","pull_request_url":"https://api.github.com/repos/jstransformers/jstransformer/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/jstransformers/jstransformer/pulls/comments/33840957"},"html":{"href":"https://github.com/jstransformers/jstransformer/pull/28#discussion_r33840957"},"pull_request":{"href":"https://api.github.com/repos/jstransformers/jstransformer/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/jstransformers/jstransformer/pulls/28","id":36938562,"html_url":"https://github.com/jstransformers/jstransformer/pull/28","diff_url":"https://github.com/jstransformers/jstransformer/pull/28.diff","patch_url":"https://github.com/jstransformers/jstransformer/pull/28.patch","issue_url":"https://api.github.com/repos/jstransformers/jstransformer/issues/28","number":28,"state":"open","locked":false,"title":"Add render fallback for compile","user":{"login":"RobLoach","id":25086,"avatar_url":"https://avatars.githubusercontent.com/u/25086?v=3","gravatar_id":"","url":"https://api.github.com/users/RobLoach","html_url":"https://github.com/RobLoach","followers_url":"https://api.github.com/users/RobLoach/followers","following_url":"https://api.github.com/users/RobLoach/following{/other_user}","gists_url":"https://api.github.com/users/RobLoach/gists{/gist_id}","starred_url":"https://api.github.com/users/RobLoach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobLoach/subscriptions","organizations_url":"https://api.github.com/users/RobLoach/orgs","repos_url":"https://api.github.com/users/RobLoach/repos","events_url":"https://api.github.com/users/RobLoach/events{/privacy}","received_events_url":"https://api.github.com/users/RobLoach/received_events","type":"User","site_admin":false},"body":"RE: #25","created_at":"2015-06-04T14:18:34Z","updated_at":"2015-07-03T05:18:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1335e392a740941b9be6277f729791eec3c60216","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jstransformers/jstransformer/pulls/28/commits","review_comments_url":"https://api.github.com/repos/jstransformers/jstransformer/pulls/28/comments","review_comment_url":"https://api.github.com/repos/jstransformers/jstransformer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jstransformers/jstransformer/issues/28/comments","statuses_url":"https://api.github.com/repos/jstransformers/jstransformer/statuses/1892187185ce5d7fa8d71d2ab29bc4a6c03ac9f2","head":{"label":"jstransformers:compilerenderfallback","ref":"compilerenderfallback","sha":"1892187185ce5d7fa8d71d2ab29bc4a6c03ac9f2","user":{"login":"jstransformers","id":9823543,"avatar_url":"https://avatars.githubusercontent.com/u/9823543?v=3","gravatar_id":"","url":"https://api.github.com/users/jstransformers","html_url":"https://github.com/jstransformers","followers_url":"https://api.github.com/users/jstransformers/followers","following_url":"https://api.github.com/users/jstransformers/following{/other_user}","gists_url":"https://api.github.com/users/jstransformers/gists{/gist_id}","starred_url":"https://api.github.com/users/jstransformers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstransformers/subscriptions","organizations_url":"https://api.github.com/users/jstransformers/orgs","repos_url":"https://api.github.com/users/jstransformers/repos","events_url":"https://api.github.com/users/jstransformers/events{/privacy}","received_events_url":"https://api.github.com/users/jstransformers/received_events","type":"Organization","site_admin":false},"repo":{"id":26820697,"name":"jstransformer","full_name":"jstransformers/jstransformer","owner":{"login":"jstransformers","id":9823543,"avatar_url":"https://avatars.githubusercontent.com/u/9823543?v=3","gravatar_id":"","url":"https://api.github.com/users/jstransformers","html_url":"https://github.com/jstransformers","followers_url":"https://api.github.com/users/jstransformers/followers","following_url":"https://api.github.com/users/jstransformers/following{/other_user}","gists_url":"https://api.github.com/users/jstransformers/gists{/gist_id}","starred_url":"https://api.github.com/users/jstransformers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstransformers/subscriptions","organizations_url":"https://api.github.com/users/jstransformers/orgs","repos_url":"https://api.github.com/users/jstransformers/repos","events_url":"https://api.github.com/users/jstransformers/events{/privacy}","received_events_url":"https://api.github.com/users/jstransformers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jstransformers/jstransformer","description":"Normalize the API of any JS Transformer.","fork":false,"url":"https://api.github.com/repos/jstransformers/jstransformer","forks_url":"https://api.github.com/repos/jstransformers/jstransformer/forks","keys_url":"https://api.github.com/repos/jstransformers/jstransformer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jstransformers/jstransformer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jstransformers/jstransformer/teams","hooks_url":"https://api.github.com/repos/jstransformers/jstransformer/hooks","issue_events_url":"https://api.github.com/repos/jstransformers/jstransformer/issues/events{/number}","events_url":"https://api.github.com/repos/jstransformers/jstransformer/events","assignees_url":"https://api.github.com/repos/jstransformers/jstransformer/assignees{/user}","branches_url":"https://api.github.com/repos/jstransformers/jstransformer/branches{/branch}","tags_url":"https://api.github.com/repos/jstransformers/jstransformer/tags","blobs_url":"https://api.github.com/repos/jstransformers/jstransformer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jstransformers/jstransformer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jstransformers/jstransformer/git/refs{/sha}","trees_url":"https://api.github.com/repos/jstransformers/jstransformer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jstransformers/jstransformer/statuses/{sha}","languages_url":"https://api.github.com/repos/jstransformers/jstransformer/languages","stargazers_url":"https://api.github.com/repos/jstransformers/jstransformer/stargazers","contributors_url":"https://api.github.com/repos/jstransformers/jstransformer/contributors","subscribers_url":"https://api.github.com/repos/jstransformers/jstransformer/subscribers","subscription_url":"https://api.github.com/repos/jstransformers/jstransformer/subscription","commits_url":"https://api.github.com/repos/jstransformers/jstransformer/commits{/sha}","git_commits_url":"https://api.github.com/repos/jstransformers/jstransformer/git/commits{/sha}","comments_url":"https://api.github.com/repos/jstransformers/jstransformer/comments{/number}","issue_comment_url":"https://api.github.com/repos/jstransformers/jstransformer/issues/comments{/number}","contents_url":"https://api.github.com/repos/jstransformers/jstransformer/contents/{+path}","compare_url":"https://api.github.com/repos/jstransformers/jstransformer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jstransformers/jstransformer/merges","archive_url":"https://api.github.com/repos/jstransformers/jstransformer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jstransformers/jstransformer/downloads","issues_url":"https://api.github.com/repos/jstransformers/jstransformer/issues{/number}","pulls_url":"https://api.github.com/repos/jstransformers/jstransformer/pulls{/number}","milestones_url":"https://api.github.com/repos/jstransformers/jstransformer/milestones{/number}","notifications_url":"https://api.github.com/repos/jstransformers/jstransformer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jstransformers/jstransformer/labels{/name}","releases_url":"https://api.github.com/repos/jstransformers/jstransformer/releases{/id}","created_at":"2014-11-18T17:18:37Z","updated_at":"2015-07-03T04:06:09Z","pushed_at":"2015-06-15T18:46:02Z","git_url":"git://github.com/jstransformers/jstransformer.git","ssh_url":"git@github.com:jstransformers/jstransformer.git","clone_url":"https://github.com/jstransformers/jstransformer.git","svn_url":"https://github.com/jstransformers/jstransformer","homepage":"http://npm.im/jstransformer","size":286,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":25,"forks":1,"open_issues":25,"watchers":12,"default_branch":"master"}},"base":{"label":"jstransformers:master","ref":"master","sha":"ed38a9ebff357de1516921a7aff9763c4ba6d5bf","user":{"login":"jstransformers","id":9823543,"avatar_url":"https://avatars.githubusercontent.com/u/9823543?v=3","gravatar_id":"","url":"https://api.github.com/users/jstransformers","html_url":"https://github.com/jstransformers","followers_url":"https://api.github.com/users/jstransformers/followers","following_url":"https://api.github.com/users/jstransformers/following{/other_user}","gists_url":"https://api.github.com/users/jstransformers/gists{/gist_id}","starred_url":"https://api.github.com/users/jstransformers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstransformers/subscriptions","organizations_url":"https://api.github.com/users/jstransformers/orgs","repos_url":"https://api.github.com/users/jstransformers/repos","events_url":"https://api.github.com/users/jstransformers/events{/privacy}","received_events_url":"https://api.github.com/users/jstransformers/received_events","type":"Organization","site_admin":false},"repo":{"id":26820697,"name":"jstransformer","full_name":"jstransformers/jstransformer","owner":{"login":"jstransformers","id":9823543,"avatar_url":"https://avatars.githubusercontent.com/u/9823543?v=3","gravatar_id":"","url":"https://api.github.com/users/jstransformers","html_url":"https://github.com/jstransformers","followers_url":"https://api.github.com/users/jstransformers/followers","following_url":"https://api.github.com/users/jstransformers/following{/other_user}","gists_url":"https://api.github.com/users/jstransformers/gists{/gist_id}","starred_url":"https://api.github.com/users/jstransformers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstransformers/subscriptions","organizations_url":"https://api.github.com/users/jstransformers/orgs","repos_url":"https://api.github.com/users/jstransformers/repos","events_url":"https://api.github.com/users/jstransformers/events{/privacy}","received_events_url":"https://api.github.com/users/jstransformers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jstransformers/jstransformer","description":"Normalize the API of any JS Transformer.","fork":false,"url":"https://api.github.com/repos/jstransformers/jstransformer","forks_url":"https://api.github.com/repos/jstransformers/jstransformer/forks","keys_url":"https://api.github.com/repos/jstransformers/jstransformer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jstransformers/jstransformer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jstransformers/jstransformer/teams","hooks_url":"https://api.github.com/repos/jstransformers/jstransformer/hooks","issue_events_url":"https://api.github.com/repos/jstransformers/jstransformer/issues/events{/number}","events_url":"https://api.github.com/repos/jstransformers/jstransformer/events","assignees_url":"https://api.github.com/repos/jstransformers/jstransformer/assignees{/user}","branches_url":"https://api.github.com/repos/jstransformers/jstransformer/branches{/branch}","tags_url":"https://api.github.com/repos/jstransformers/jstransformer/tags","blobs_url":"https://api.github.com/repos/jstransformers/jstransformer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jstransformers/jstransformer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jstransformers/jstransformer/git/refs{/sha}","trees_url":"https://api.github.com/repos/jstransformers/jstransformer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jstransformers/jstransformer/statuses/{sha}","languages_url":"https://api.github.com/repos/jstransformers/jstransformer/languages","stargazers_url":"https://api.github.com/repos/jstransformers/jstransformer/stargazers","contributors_url":"https://api.github.com/repos/jstransformers/jstransformer/contributors","subscribers_url":"https://api.github.com/repos/jstransformers/jstransformer/subscribers","subscription_url":"https://api.github.com/repos/jstransformers/jstransformer/subscription","commits_url":"https://api.github.com/repos/jstransformers/jstransformer/commits{/sha}","git_commits_url":"https://api.github.com/repos/jstransformers/jstransformer/git/commits{/sha}","comments_url":"https://api.github.com/repos/jstransformers/jstransformer/comments{/number}","issue_comment_url":"https://api.github.com/repos/jstransformers/jstransformer/issues/comments{/number}","contents_url":"https://api.github.com/repos/jstransformers/jstransformer/contents/{+path}","compare_url":"https://api.github.com/repos/jstransformers/jstransformer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jstransformers/jstransformer/merges","archive_url":"https://api.github.com/repos/jstransformers/jstransformer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jstransformers/jstransformer/downloads","issues_url":"https://api.github.com/repos/jstransformers/jstransformer/issues{/number}","pulls_url":"https://api.github.com/repos/jstransformers/jstransformer/pulls{/number}","milestones_url":"https://api.github.com/repos/jstransformers/jstransformer/milestones{/number}","notifications_url":"https://api.github.com/repos/jstransformers/jstransformer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jstransformers/jstransformer/labels{/name}","releases_url":"https://api.github.com/repos/jstransformers/jstransformer/releases{/id}","created_at":"2014-11-18T17:18:37Z","updated_at":"2015-07-03T04:06:09Z","pushed_at":"2015-06-15T18:46:02Z","git_url":"git://github.com/jstransformers/jstransformer.git","ssh_url":"git@github.com:jstransformers/jstransformer.git","clone_url":"https://github.com/jstransformers/jstransformer.git","svn_url":"https://github.com/jstransformers/jstransformer","homepage":"http://npm.im/jstransformer","size":286,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":25,"forks":1,"open_issues":25,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jstransformers/jstransformer/pulls/28"},"html":{"href":"https://github.com/jstransformers/jstransformer/pull/28"},"issue":{"href":"https://api.github.com/repos/jstransformers/jstransformer/issues/28"},"comments":{"href":"https://api.github.com/repos/jstransformers/jstransformer/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/jstransformers/jstransformer/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/jstransformers/jstransformer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jstransformers/jstransformer/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/jstransformers/jstransformer/statuses/1892187185ce5d7fa8d71d2ab29bc4a6c03ac9f2"}}}}