{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/gabrielwalt/svg-sightly/pulls/1","id":38899264,"html_url":"https://github.com/gabrielwalt/svg-sightly/pull/1","diff_url":"https://github.com/gabrielwalt/svg-sightly/pull/1.diff","patch_url":"https://github.com/gabrielwalt/svg-sightly/pull/1.patch","issue_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/issues/1","number":1,"state":"open","locked":false,"title":"Simplified writing of the template.","user":{"login":"gabrielwalt","id":130083,"avatar_url":"https://avatars.githubusercontent.com/u/130083?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielwalt","html_url":"https://github.com/gabrielwalt","followers_url":"https://api.github.com/users/gabrielwalt/followers","following_url":"https://api.github.com/users/gabrielwalt/following{/other_user}","gists_url":"https://api.github.com/users/gabrielwalt/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielwalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielwalt/subscriptions","organizations_url":"https://api.github.com/users/gabrielwalt/orgs","repos_url":"https://api.github.com/users/gabrielwalt/repos","events_url":"https://api.github.com/users/gabrielwalt/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielwalt/received_events","type":"User","site_admin":false},"body":"It is dangerous in to use context='styleToken' for class names as doesn't really fit the actual context. You probably try to avoid space characters to get HTML-escaped, but there's absolutely no harm in that and you really shouldn't mind about the few extra escaping that can happen (you better have to much HTML escaping than too few).\r\nAlso, I wouldn't use the data-sly-test feature of exposing variables unless you want to do if-else constructs of complex expressions, accessing the properties object doesn't add much overhead and will make things easier to understand (instead of having to lookup where that variable has been set).","created_at":"2015-06-30T16:46:13Z","updated_at":"2015-06-30T16:46:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/pulls/1/commits","review_comments_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/pulls/1/comments","review_comment_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/issues/1/comments","statuses_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/statuses/3e5cd1cd6aff2e140e75704d565a0a83601f267c","head":{"label":"gabrielwalt:patch-1","ref":"patch-1","sha":"3e5cd1cd6aff2e140e75704d565a0a83601f267c","user":{"login":"gabrielwalt","id":130083,"avatar_url":"https://avatars.githubusercontent.com/u/130083?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielwalt","html_url":"https://github.com/gabrielwalt","followers_url":"https://api.github.com/users/gabrielwalt/followers","following_url":"https://api.github.com/users/gabrielwalt/following{/other_user}","gists_url":"https://api.github.com/users/gabrielwalt/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielwalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielwalt/subscriptions","organizations_url":"https://api.github.com/users/gabrielwalt/orgs","repos_url":"https://api.github.com/users/gabrielwalt/repos","events_url":"https://api.github.com/users/gabrielwalt/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielwalt/received_events","type":"User","site_admin":false},"repo":{"id":37524334,"name":"svg-sightly","full_name":"gabrielwalt/svg-sightly","owner":{"login":"gabrielwalt","id":130083,"avatar_url":"https://avatars.githubusercontent.com/u/130083?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielwalt","html_url":"https://github.com/gabrielwalt","followers_url":"https://api.github.com/users/gabrielwalt/followers","following_url":"https://api.github.com/users/gabrielwalt/following{/other_user}","gists_url":"https://api.github.com/users/gabrielwalt/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielwalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielwalt/subscriptions","organizations_url":"https://api.github.com/users/gabrielwalt/orgs","repos_url":"https://api.github.com/users/gabrielwalt/repos","events_url":"https://api.github.com/users/gabrielwalt/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielwalt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gabrielwalt/svg-sightly","description":"An SVG Sightly Component for AEM 6.0","fork":true,"url":"https://api.github.com/repos/gabrielwalt/svg-sightly","forks_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/forks","keys_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/teams","hooks_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/hooks","issue_events_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/issues/events{/number}","events_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/events","assignees_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/assignees{/user}","branches_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/branches{/branch}","tags_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/tags","blobs_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/git/refs{/sha}","trees_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/statuses/{sha}","languages_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/languages","stargazers_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/stargazers","contributors_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/contributors","subscribers_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/subscribers","subscription_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/subscription","commits_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/commits{/sha}","git_commits_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/git/commits{/sha}","comments_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/comments{/number}","issue_comment_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/issues/comments{/number}","contents_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/contents/{+path}","compare_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/merges","archive_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/downloads","issues_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/issues{/number}","pulls_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/pulls{/number}","milestones_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/milestones{/number}","notifications_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/labels{/name}","releases_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/releases{/id}","created_at":"2015-06-16T10:47:09Z","updated_at":"2015-06-16T10:47:10Z","pushed_at":"2015-06-30T16:46:13Z","git_url":"git://github.com/gabrielwalt/svg-sightly.git","ssh_url":"git@github.com:gabrielwalt/svg-sightly.git","clone_url":"https://github.com/gabrielwalt/svg-sightly.git","svn_url":"https://github.com/gabrielwalt/svg-sightly","homepage":null,"size":98,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"gabrielwalt:master","ref":"master","sha":"32a013dca4bc0cafa86bec1723186b4a46db80e0","user":{"login":"gabrielwalt","id":130083,"avatar_url":"https://avatars.githubusercontent.com/u/130083?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielwalt","html_url":"https://github.com/gabrielwalt","followers_url":"https://api.github.com/users/gabrielwalt/followers","following_url":"https://api.github.com/users/gabrielwalt/following{/other_user}","gists_url":"https://api.github.com/users/gabrielwalt/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielwalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielwalt/subscriptions","organizations_url":"https://api.github.com/users/gabrielwalt/orgs","repos_url":"https://api.github.com/users/gabrielwalt/repos","events_url":"https://api.github.com/users/gabrielwalt/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielwalt/received_events","type":"User","site_admin":false},"repo":{"id":37524334,"name":"svg-sightly","full_name":"gabrielwalt/svg-sightly","owner":{"login":"gabrielwalt","id":130083,"avatar_url":"https://avatars.githubusercontent.com/u/130083?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielwalt","html_url":"https://github.com/gabrielwalt","followers_url":"https://api.github.com/users/gabrielwalt/followers","following_url":"https://api.github.com/users/gabrielwalt/following{/other_user}","gists_url":"https://api.github.com/users/gabrielwalt/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielwalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielwalt/subscriptions","organizations_url":"https://api.github.com/users/gabrielwalt/orgs","repos_url":"https://api.github.com/users/gabrielwalt/repos","events_url":"https://api.github.com/users/gabrielwalt/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielwalt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gabrielwalt/svg-sightly","description":"An SVG Sightly Component for AEM 6.0","fork":true,"url":"https://api.github.com/repos/gabrielwalt/svg-sightly","forks_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/forks","keys_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/teams","hooks_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/hooks","issue_events_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/issues/events{/number}","events_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/events","assignees_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/assignees{/user}","branches_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/branches{/branch}","tags_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/tags","blobs_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/git/refs{/sha}","trees_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/statuses/{sha}","languages_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/languages","stargazers_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/stargazers","contributors_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/contributors","subscribers_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/subscribers","subscription_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/subscription","commits_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/commits{/sha}","git_commits_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/git/commits{/sha}","comments_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/comments{/number}","issue_comment_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/issues/comments{/number}","contents_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/contents/{+path}","compare_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/merges","archive_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/downloads","issues_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/issues{/number}","pulls_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/pulls{/number}","milestones_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/milestones{/number}","notifications_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/labels{/name}","releases_url":"https://api.github.com/repos/gabrielwalt/svg-sightly/releases{/id}","created_at":"2015-06-16T10:47:09Z","updated_at":"2015-06-16T10:47:10Z","pushed_at":"2015-06-30T16:46:13Z","git_url":"git://github.com/gabrielwalt/svg-sightly.git","ssh_url":"git@github.com:gabrielwalt/svg-sightly.git","clone_url":"https://github.com/gabrielwalt/svg-sightly.git","svn_url":"https://github.com/gabrielwalt/svg-sightly","homepage":null,"size":98,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gabrielwalt/svg-sightly/pulls/1"},"html":{"href":"https://github.com/gabrielwalt/svg-sightly/pull/1"},"issue":{"href":"https://api.github.com/repos/gabrielwalt/svg-sightly/issues/1"},"comments":{"href":"https://api.github.com/repos/gabrielwalt/svg-sightly/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/gabrielwalt/svg-sightly/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/gabrielwalt/svg-sightly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gabrielwalt/svg-sightly/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/gabrielwalt/svg-sightly/statuses/3e5cd1cd6aff2e140e75704d565a0a83601f267c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":17,"deletions":19,"changed_files":1}}