{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular.js/pulls/comments/48239905","id":48239905,"diff_hunk":"@@ -367,27 +367,28 @@ describe('$compile', function() {\n       expect($document.scope()).toBe($rootScope);\n     }));\n \n-    it('should wrap root text nodes in spans', inject(function($compile, $rootScope) {\n-      element = jqLite('<div>A&lt;a&gt;B&lt;/a&gt;C</div>');\n-      var text = element.contents();\n-      expect(text[0].nodeName).toEqual('#text');\n-      text = $compile(text)($rootScope);\n-      expect(text[0].nodeName).toEqual('SPAN');\n-      expect(element.find('span').text()).toEqual('A<a>B</a>C');\n-    }));\n-\n \n-    it('should not wrap root whitespace text nodes in spans', function() {\n+    it('should not wrap root text nodes in spans', function() {\n       element = jqLite(\n         '<div>   <div>A</div>\\n  ' + // The spaces and newlines here should not get wrapped\n         '<div>B</div>C\\t\\n  ' +  // The \"C\", tabs and spaces here will be wrapped","path":"test/ng/compileSpec.js","position":18,"original_position":18,"commit_id":"2b57e770f6471129b95d1f8cab014a4659026943","original_commit_id":"2b57e770f6471129b95d1f8cab014a4659026943","user":{"login":"lgalfaso","id":391394,"avatar_url":"https://avatars.githubusercontent.com/u/391394?v=3","gravatar_id":"","url":"https://api.github.com/users/lgalfaso","html_url":"https://github.com/lgalfaso","followers_url":"https://api.github.com/users/lgalfaso/followers","following_url":"https://api.github.com/users/lgalfaso/following{/other_user}","gists_url":"https://api.github.com/users/lgalfaso/gists{/gist_id}","starred_url":"https://api.github.com/users/lgalfaso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgalfaso/subscriptions","organizations_url":"https://api.github.com/users/lgalfaso/orgs","repos_url":"https://api.github.com/users/lgalfaso/repos","events_url":"https://api.github.com/users/lgalfaso/events{/privacy}","received_events_url":"https://api.github.com/users/lgalfaso/received_events","type":"User","site_admin":false},"body":"Thanks!","created_at":"2015-12-22T10:18:12Z","updated_at":"2015-12-22T10:18:12Z","html_url":"https://github.com/angular/angular.js/pull/13605#discussion_r48239905","pull_request_url":"https://api.github.com/repos/angular/angular.js/pulls/13605","_links":{"self":{"href":"https://api.github.com/repos/angular/angular.js/pulls/comments/48239905"},"html":{"href":"https://github.com/angular/angular.js/pull/13605#discussion_r48239905"},"pull_request":{"href":"https://api.github.com/repos/angular/angular.js/pulls/13605"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular.js/pulls/13605","id":54280486,"html_url":"https://github.com/angular/angular.js/pull/13605","diff_url":"https://github.com/angular/angular.js/pull/13605.diff","patch_url":"https://github.com/angular/angular.js/pull/13605.patch","issue_url":"https://api.github.com/repos/angular/angular.js/issues/13605","number":13605,"state":"open","locked":false,"title":"Three small changes on compile","user":{"login":"lgalfaso","id":391394,"avatar_url":"https://avatars.githubusercontent.com/u/391394?v=3","gravatar_id":"","url":"https://api.github.com/users/lgalfaso","html_url":"https://github.com/lgalfaso","followers_url":"https://api.github.com/users/lgalfaso/followers","following_url":"https://api.github.com/users/lgalfaso/following{/other_user}","gists_url":"https://api.github.com/users/lgalfaso/gists{/gist_id}","starred_url":"https://api.github.com/users/lgalfaso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgalfaso/subscriptions","organizations_url":"https://api.github.com/users/lgalfaso/orgs","repos_url":"https://api.github.com/users/lgalfaso/repos","events_url":"https://api.github.com/users/lgalfaso/events{/privacy}","received_events_url":"https://api.github.com/users/lgalfaso/received_events","type":"User","site_admin":false},"body":"* A small refactor so no `<span>` elements are added to text element\r\n* A fix so it is possible to add decorators to directives that modify the directive scope\r\n* A style fix","created_at":"2015-12-21T17:16:06Z","updated_at":"2015-12-22T10:18:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aca2e111a67ad30670aac72a7ca673f3ddcd7818","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular.js/pulls/13605/commits","review_comments_url":"https://api.github.com/repos/angular/angular.js/pulls/13605/comments","review_comment_url":"https://api.github.com/repos/angular/angular.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/13605/comments","statuses_url":"https://api.github.com/repos/angular/angular.js/statuses/2b57e770f6471129b95d1f8cab014a4659026943","head":{"label":"lgalfaso:new-compile","ref":"new-compile","sha":"2b57e770f6471129b95d1f8cab014a4659026943","user":{"login":"lgalfaso","id":391394,"avatar_url":"https://avatars.githubusercontent.com/u/391394?v=3","gravatar_id":"","url":"https://api.github.com/users/lgalfaso","html_url":"https://github.com/lgalfaso","followers_url":"https://api.github.com/users/lgalfaso/followers","following_url":"https://api.github.com/users/lgalfaso/following{/other_user}","gists_url":"https://api.github.com/users/lgalfaso/gists{/gist_id}","starred_url":"https://api.github.com/users/lgalfaso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgalfaso/subscriptions","organizations_url":"https://api.github.com/users/lgalfaso/orgs","repos_url":"https://api.github.com/users/lgalfaso/repos","events_url":"https://api.github.com/users/lgalfaso/events{/privacy}","received_events_url":"https://api.github.com/users/lgalfaso/received_events","type":"User","site_admin":false},"repo":{"id":7570364,"name":"angular.js","full_name":"lgalfaso/angular.js","owner":{"login":"lgalfaso","id":391394,"avatar_url":"https://avatars.githubusercontent.com/u/391394?v=3","gravatar_id":"","url":"https://api.github.com/users/lgalfaso","html_url":"https://github.com/lgalfaso","followers_url":"https://api.github.com/users/lgalfaso/followers","following_url":"https://api.github.com/users/lgalfaso/following{/other_user}","gists_url":"https://api.github.com/users/lgalfaso/gists{/gist_id}","starred_url":"https://api.github.com/users/lgalfaso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgalfaso/subscriptions","organizations_url":"https://api.github.com/users/lgalfaso/orgs","repos_url":"https://api.github.com/users/lgalfaso/repos","events_url":"https://api.github.com/users/lgalfaso/events{/privacy}","received_events_url":"https://api.github.com/users/lgalfaso/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lgalfaso/angular.js","description":"","fork":true,"url":"https://api.github.com/repos/lgalfaso/angular.js","forks_url":"https://api.github.com/repos/lgalfaso/angular.js/forks","keys_url":"https://api.github.com/repos/lgalfaso/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lgalfaso/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lgalfaso/angular.js/teams","hooks_url":"https://api.github.com/repos/lgalfaso/angular.js/hooks","issue_events_url":"https://api.github.com/repos/lgalfaso/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/lgalfaso/angular.js/events","assignees_url":"https://api.github.com/repos/lgalfaso/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/lgalfaso/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/lgalfaso/angular.js/tags","blobs_url":"https://api.github.com/repos/lgalfaso/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lgalfaso/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lgalfaso/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/lgalfaso/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lgalfaso/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/lgalfaso/angular.js/languages","stargazers_url":"https://api.github.com/repos/lgalfaso/angular.js/stargazers","contributors_url":"https://api.github.com/repos/lgalfaso/angular.js/contributors","subscribers_url":"https://api.github.com/repos/lgalfaso/angular.js/subscribers","subscription_url":"https://api.github.com/repos/lgalfaso/angular.js/subscription","commits_url":"https://api.github.com/repos/lgalfaso/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/lgalfaso/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/lgalfaso/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/lgalfaso/angular.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/lgalfaso/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/lgalfaso/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lgalfaso/angular.js/merges","archive_url":"https://api.github.com/repos/lgalfaso/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lgalfaso/angular.js/downloads","issues_url":"https://api.github.com/repos/lgalfaso/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/lgalfaso/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/lgalfaso/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/lgalfaso/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lgalfaso/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/lgalfaso/angular.js/releases{/id}","created_at":"2013-01-12T01:59:19Z","updated_at":"2015-04-01T12:00:11Z","pushed_at":"2015-12-21T21:53:55Z","git_url":"git://github.com/lgalfaso/angular.js.git","ssh_url":"git@github.com:lgalfaso/angular.js.git","clone_url":"https://github.com/lgalfaso/angular.js.git","svn_url":"https://github.com/lgalfaso/angular.js","homepage":"http://angularjs.org","size":75615,"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":"angular:master","ref":"master","sha":"798fb18542defc650162b9b2422cb27c35d27482","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":460078,"name":"angular.js","full_name":"angular/angular.js","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular.js","description":"HTML enhanced for web apps","fork":false,"url":"https://api.github.com/repos/angular/angular.js","forks_url":"https://api.github.com/repos/angular/angular.js/forks","keys_url":"https://api.github.com/repos/angular/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular.js/teams","hooks_url":"https://api.github.com/repos/angular/angular.js/hooks","issue_events_url":"https://api.github.com/repos/angular/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular.js/events","assignees_url":"https://api.github.com/repos/angular/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular.js/tags","blobs_url":"https://api.github.com/repos/angular/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular.js/languages","stargazers_url":"https://api.github.com/repos/angular/angular.js/stargazers","contributors_url":"https://api.github.com/repos/angular/angular.js/contributors","subscribers_url":"https://api.github.com/repos/angular/angular.js/subscribers","subscription_url":"https://api.github.com/repos/angular/angular.js/subscription","commits_url":"https://api.github.com/repos/angular/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular.js/merges","archive_url":"https://api.github.com/repos/angular/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular.js/downloads","issues_url":"https://api.github.com/repos/angular/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular.js/releases{/id}","created_at":"2010-01-06T00:34:37Z","updated_at":"2015-12-22T10:14:38Z","pushed_at":"2015-12-21T17:16:08Z","git_url":"git://github.com/angular/angular.js.git","ssh_url":"git@github.com:angular/angular.js.git","clone_url":"https://github.com/angular/angular.js.git","svn_url":"https://github.com/angular/angular.js","homepage":"http://angularjs.org","size":141012,"stargazers_count":45344,"watchers_count":45344,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20895,"mirror_url":null,"open_issues_count":1285,"forks":20895,"open_issues":1285,"watchers":45344,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular.js/pulls/13605"},"html":{"href":"https://github.com/angular/angular.js/pull/13605"},"issue":{"href":"https://api.github.com/repos/angular/angular.js/issues/13605"},"comments":{"href":"https://api.github.com/repos/angular/angular.js/issues/13605/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular.js/pulls/13605/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular.js/pulls/13605/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular.js/statuses/2b57e770f6471129b95d1f8cab014a4659026943"}}}}