{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular.io/pulls/comments/59056551","id":59056551,"diff_hunk":"@@ -1,12 +1,376 @@\n include ../_util-fns\n \n :marked\n-  We're working on the Dart version of this chapter.\n-  In the meantime, please see these resources:\n+  An **Attribute** directive changes the appearance or behavior of a DOM element.\n \n-  * [Attribute Directives](/docs/ts/latest/guide/attribute-directives.html):\n-    The TypeScript version of this chapter\n+:marked\n+  In this chapter we will\n+  * write an attribute directive to change the background color\n+  * apply the attribute directive to an element in a template\n+  * respond to user-initiated events\n+  * pass values into the directive using data binding\n+\n+  [Live Example](/resources/live-examples/attribute-directives/ts/plnkr.html)","path":"public/docs/dart/latest/guide/attribute-directives.jade","position":17,"original_position":17,"commit_id":"5a6aa282acb468b326b5e6c2d4125e60e9bb7918","original_commit_id":"f9c1d2d9583ad02392f0d8316cf390630e3bd02e","user":{"login":"kwalrath","id":2164483,"avatar_url":"https://avatars.githubusercontent.com/u/2164483?v=3","gravatar_id":"","url":"https://api.github.com/users/kwalrath","html_url":"https://github.com/kwalrath","followers_url":"https://api.github.com/users/kwalrath/followers","following_url":"https://api.github.com/users/kwalrath/following{/other_user}","gists_url":"https://api.github.com/users/kwalrath/gists{/gist_id}","starred_url":"https://api.github.com/users/kwalrath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwalrath/subscriptions","organizations_url":"https://api.github.com/users/kwalrath/orgs","repos_url":"https://api.github.com/users/kwalrath/repos","events_url":"https://api.github.com/users/kwalrath/events{/privacy}","received_events_url":"https://api.github.com/users/kwalrath/received_events","type":"User","site_admin":false},"body":" I just published a wiki page in this repo where you should be able to find that info: [Converting Pages to Dart](https://github.com/angular/angular.io/wiki/Converting-Pages-to-Dart)","created_at":"2016-04-08T17:00:55Z","updated_at":"2016-04-08T17:00:55Z","html_url":"https://github.com/angular/angular.io/pull/997#discussion_r59056551","pull_request_url":"https://api.github.com/repos/angular/angular.io/pulls/997","_links":{"self":{"href":"https://api.github.com/repos/angular/angular.io/pulls/comments/59056551"},"html":{"href":"https://github.com/angular/angular.io/pull/997#discussion_r59056551"},"pull_request":{"href":"https://api.github.com/repos/angular/angular.io/pulls/997"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular.io/pulls/997","id":63663938,"html_url":"https://github.com/angular/angular.io/pull/997","diff_url":"https://github.com/angular/angular.io/pull/997.diff","patch_url":"https://github.com/angular/angular.io/pull/997.patch","issue_url":"https://api.github.com/repos/angular/angular.io/issues/997","number":997,"state":"open","locked":false,"title":"docs(attribute-directives-dart): Edit Attribute Directives Docs","user":{"login":"luisvt","id":1688987,"avatar_url":"https://avatars.githubusercontent.com/u/1688987?v=3","gravatar_id":"","url":"https://api.github.com/users/luisvt","html_url":"https://github.com/luisvt","followers_url":"https://api.github.com/users/luisvt/followers","following_url":"https://api.github.com/users/luisvt/following{/other_user}","gists_url":"https://api.github.com/users/luisvt/gists{/gist_id}","starred_url":"https://api.github.com/users/luisvt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisvt/subscriptions","organizations_url":"https://api.github.com/users/luisvt/orgs","repos_url":"https://api.github.com/users/luisvt/repos","events_url":"https://api.github.com/users/luisvt/events{/privacy}","received_events_url":"https://api.github.com/users/luisvt/received_events","type":"User","site_admin":false},"body":"* edited attribute-directive.jade\r\n* reformat som part of app_component.html\r\n* edited docregion highlight on highlight_directive.dart\r\n* remove extra spaces in highlight_directive_2.dart","created_at":"2016-03-22T03:06:03Z","updated_at":"2016-04-08T17:00:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b46ba041a31c22a875991b1d535373f53c119d8f","assignee":{"login":"kwalrath","id":2164483,"avatar_url":"https://avatars.githubusercontent.com/u/2164483?v=3","gravatar_id":"","url":"https://api.github.com/users/kwalrath","html_url":"https://github.com/kwalrath","followers_url":"https://api.github.com/users/kwalrath/followers","following_url":"https://api.github.com/users/kwalrath/following{/other_user}","gists_url":"https://api.github.com/users/kwalrath/gists{/gist_id}","starred_url":"https://api.github.com/users/kwalrath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwalrath/subscriptions","organizations_url":"https://api.github.com/users/kwalrath/orgs","repos_url":"https://api.github.com/users/kwalrath/repos","events_url":"https://api.github.com/users/kwalrath/events{/privacy}","received_events_url":"https://api.github.com/users/kwalrath/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular.io/pulls/997/commits","review_comments_url":"https://api.github.com/repos/angular/angular.io/pulls/997/comments","review_comment_url":"https://api.github.com/repos/angular/angular.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular.io/issues/997/comments","statuses_url":"https://api.github.com/repos/angular/angular.io/statuses/5a6aa282acb468b326b5e6c2d4125e60e9bb7918","head":{"label":"luisvt:attribute-direvtive-dart","ref":"attribute-direvtive-dart","sha":"5a6aa282acb468b326b5e6c2d4125e60e9bb7918","user":{"login":"luisvt","id":1688987,"avatar_url":"https://avatars.githubusercontent.com/u/1688987?v=3","gravatar_id":"","url":"https://api.github.com/users/luisvt","html_url":"https://github.com/luisvt","followers_url":"https://api.github.com/users/luisvt/followers","following_url":"https://api.github.com/users/luisvt/following{/other_user}","gists_url":"https://api.github.com/users/luisvt/gists{/gist_id}","starred_url":"https://api.github.com/users/luisvt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisvt/subscriptions","organizations_url":"https://api.github.com/users/luisvt/orgs","repos_url":"https://api.github.com/users/luisvt/repos","events_url":"https://api.github.com/users/luisvt/events{/privacy}","received_events_url":"https://api.github.com/users/luisvt/received_events","type":"User","site_admin":false},"repo":{"id":51188693,"name":"angular.io","full_name":"luisvt/angular.io","owner":{"login":"luisvt","id":1688987,"avatar_url":"https://avatars.githubusercontent.com/u/1688987?v=3","gravatar_id":"","url":"https://api.github.com/users/luisvt","html_url":"https://github.com/luisvt","followers_url":"https://api.github.com/users/luisvt/followers","following_url":"https://api.github.com/users/luisvt/following{/other_user}","gists_url":"https://api.github.com/users/luisvt/gists{/gist_id}","starred_url":"https://api.github.com/users/luisvt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisvt/subscriptions","organizations_url":"https://api.github.com/users/luisvt/orgs","repos_url":"https://api.github.com/users/luisvt/repos","events_url":"https://api.github.com/users/luisvt/events{/privacy}","received_events_url":"https://api.github.com/users/luisvt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/luisvt/angular.io","description":"Website for Angular 2","fork":true,"url":"https://api.github.com/repos/luisvt/angular.io","forks_url":"https://api.github.com/repos/luisvt/angular.io/forks","keys_url":"https://api.github.com/repos/luisvt/angular.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luisvt/angular.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luisvt/angular.io/teams","hooks_url":"https://api.github.com/repos/luisvt/angular.io/hooks","issue_events_url":"https://api.github.com/repos/luisvt/angular.io/issues/events{/number}","events_url":"https://api.github.com/repos/luisvt/angular.io/events","assignees_url":"https://api.github.com/repos/luisvt/angular.io/assignees{/user}","branches_url":"https://api.github.com/repos/luisvt/angular.io/branches{/branch}","tags_url":"https://api.github.com/repos/luisvt/angular.io/tags","blobs_url":"https://api.github.com/repos/luisvt/angular.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luisvt/angular.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luisvt/angular.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/luisvt/angular.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luisvt/angular.io/statuses/{sha}","languages_url":"https://api.github.com/repos/luisvt/angular.io/languages","stargazers_url":"https://api.github.com/repos/luisvt/angular.io/stargazers","contributors_url":"https://api.github.com/repos/luisvt/angular.io/contributors","subscribers_url":"https://api.github.com/repos/luisvt/angular.io/subscribers","subscription_url":"https://api.github.com/repos/luisvt/angular.io/subscription","commits_url":"https://api.github.com/repos/luisvt/angular.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/luisvt/angular.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/luisvt/angular.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/luisvt/angular.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/luisvt/angular.io/contents/{+path}","compare_url":"https://api.github.com/repos/luisvt/angular.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luisvt/angular.io/merges","archive_url":"https://api.github.com/repos/luisvt/angular.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luisvt/angular.io/downloads","issues_url":"https://api.github.com/repos/luisvt/angular.io/issues{/number}","pulls_url":"https://api.github.com/repos/luisvt/angular.io/pulls{/number}","milestones_url":"https://api.github.com/repos/luisvt/angular.io/milestones{/number}","notifications_url":"https://api.github.com/repos/luisvt/angular.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luisvt/angular.io/labels{/name}","releases_url":"https://api.github.com/repos/luisvt/angular.io/releases{/id}","deployments_url":"https://api.github.com/repos/luisvt/angular.io/deployments","created_at":"2016-02-06T04:00:31Z","updated_at":"2016-02-06T04:00:35Z","pushed_at":"2016-04-08T16:23:14Z","git_url":"git://github.com/luisvt/angular.io.git","ssh_url":"git@github.com:luisvt/angular.io.git","clone_url":"https://github.com/luisvt/angular.io.git","svn_url":"https://github.com/luisvt/angular.io","homepage":"https://angular.io","size":19725,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"b3d5f2bb65684841f4ad2c2a3e3b0326c6d25b9f","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":31985425,"name":"angular.io","full_name":"angular/angular.io","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.io","description":"Website for Angular 2","fork":false,"url":"https://api.github.com/repos/angular/angular.io","forks_url":"https://api.github.com/repos/angular/angular.io/forks","keys_url":"https://api.github.com/repos/angular/angular.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular.io/teams","hooks_url":"https://api.github.com/repos/angular/angular.io/hooks","issue_events_url":"https://api.github.com/repos/angular/angular.io/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular.io/events","assignees_url":"https://api.github.com/repos/angular/angular.io/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular.io/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular.io/tags","blobs_url":"https://api.github.com/repos/angular/angular.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular.io/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular.io/languages","stargazers_url":"https://api.github.com/repos/angular/angular.io/stargazers","contributors_url":"https://api.github.com/repos/angular/angular.io/contributors","subscribers_url":"https://api.github.com/repos/angular/angular.io/subscribers","subscription_url":"https://api.github.com/repos/angular/angular.io/subscription","commits_url":"https://api.github.com/repos/angular/angular.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular.io/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular.io/merges","archive_url":"https://api.github.com/repos/angular/angular.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular.io/downloads","issues_url":"https://api.github.com/repos/angular/angular.io/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular.io/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular.io/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular.io/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular.io/releases{/id}","deployments_url":"https://api.github.com/repos/angular/angular.io/deployments","created_at":"2015-03-10T22:32:34Z","updated_at":"2016-04-08T02:55:38Z","pushed_at":"2016-04-08T16:11:44Z","git_url":"git://github.com/angular/angular.io.git","ssh_url":"git@github.com:angular/angular.io.git","clone_url":"https://github.com/angular/angular.io.git","svn_url":"https://github.com/angular/angular.io","homepage":"https://angular.io","size":25585,"stargazers_count":309,"watchers_count":309,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":343,"mirror_url":null,"open_issues_count":60,"forks":343,"open_issues":60,"watchers":309,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular.io/pulls/997"},"html":{"href":"https://github.com/angular/angular.io/pull/997"},"issue":{"href":"https://api.github.com/repos/angular/angular.io/issues/997"},"comments":{"href":"https://api.github.com/repos/angular/angular.io/issues/997/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular.io/pulls/997/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular.io/pulls/997/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular.io/statuses/5a6aa282acb468b326b5e6c2d4125e60e9bb7918"}}}}