GitHub PullRequestReviewCommentEvent at 2014-09-28 13:12:43
Repository: learnxinyminutes-docs
Actor: JuanitoFatas
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/comments/18129576","id":18129576,"diff_hunk":"@@ -0,0 +1,322 @@\n+---\n+language: LiveScript\n+filename: learnLivescript.ls\n+contributors:\n+    - [\"Christina Whyte\", \"http://github.com/kurisuwhyte/\"]\n+translators:\n+    - [\"ShengDa Lyu\", \"http://github.com/SDLyu/\"]\n+lang: zh-cn    \n+---\n+\n+LiveScript 是一种具有函数式特性且编译成 JavaScript 的语言，能对应 JavaScript 的基本语法。\n+还有些额外的特性如:柯里化，函式组合，模式匹配，还有借镜于 Haskell，F# 和 Scala 的许多特点。 \n+\n+LiveScript 诞生于 [Coco][]，而 Coco 诞生于 [CoffeeScript][]。\n+LiveScript 目前已释出稳定版本，开发中的新版本将会加入更多特性。\n+\n+[Coco]: http://satyr.github.io/coco/\n+[CoffeeScript]: http://coffeescript.org/\n+\n+非常期待您的反馈，你可以透过\n+[@kurisuwhyte](https://twitter.com/kurisuwhyte) 与我连系 :)\n+\n+\n+```coffeescript\n+# 与 CoffeeScript 一样，LiveScript 使用 # 单行注解。\n+\n+/*\n+ 多行注解与 C 相同。使用注解可以避免被当成 JavaScript 输出。\n+*/\n+```\n+```coffeescript\n+# 语法的部份，LiveScript 使用缩进取代 {} 来定义区块，\n+# 使用空白取代 () 来执行函数。\n+\n+\n+########################################################################\n+## 1. 值类型\n+########################################################################\n+\n+# `void` 取代 `undefined` 表示未定义的值\n+void            # 与 `undefined` 等价但更安全（不会被覆写）\n+\n+# 空值则表示成 Null。\n+null\n+\n+\n+# 最基本的值类型数据是罗辑类型:\n+true\n+false\n+\n+# 罗辑类型的一些别名，等价于前者:\n+on; off\n+yes; no\n+\n+\n+# 数字与 JS 一样，使用倍精度浮点数表示。\n+10\n+0.4     # 开头的 0 是必要的\n+\n+\n+# 可以使用底线及单位后缀提高可读性，编译器自动会略过底线及单位后缀。\n+12_344km\n+\n+\n+# 字串与 JS 一样，是一种不可变的字元序列:\n+\"Christina\"             # 单引号也可以!\n+\"\"\"Multi-line\n+   strings\n+   are\n+   okay\n+   too.\"\"\"\n+\n+# 在前面加上 \\ 符号也可以表示字串:\n+\\keyword                # => 'keyword'\n+\n+\n+# 阵列是值的有序集合。\n+fruits =\n+  * \\apple\n+  * \\orange\n+  * \\pear\n+\n+# 可以用 [] 简洁地表示阵列:\n+fruits = [ \\apple, \\orange, \\pear ]\n+\n+\n+# 你可以更方便地建立字串阵列，并使用空白区隔元素。\n+fruits = <[ apple orange pear ]>\n+\n+# 以 0 为起始值的数组下标获取元素:\n+fruits[0]       # => \"apple\"\n+\n+\n+# 物件是无序键值对集合（更多给节将在下面章节讨论） 。","path":"zh-cn/livescript-cn.html.markdown","position":94,"original_position":94,"commit_id":"0c77c29c88f850d81a884d90a036c50931157782","original_commit_id":"0c77c29c88f850d81a884d90a036c50931157782","user":{"login":"JuanitoFatas","id":1000669,"avatar_url":"https://avatars.githubusercontent.com/u/1000669?v=2","gravatar_id":"","url":"https://api.github.com/users/JuanitoFatas","html_url":"https://github.com/JuanitoFatas","followers_url":"https://api.github.com/users/JuanitoFatas/followers","following_url":"https://api.github.com/users/JuanitoFatas/following{/other_user}","gists_url":"https://api.github.com/users/JuanitoFatas/gists{/gist_id}","starred_url":"https://api.github.com/users/JuanitoFatas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuanitoFatas/subscriptions","organizations_url":"https://api.github.com/users/JuanitoFatas/orgs","repos_url":"https://api.github.com/users/JuanitoFatas/repos","events_url":"https://api.github.com/users/JuanitoFatas/events{/privacy}","received_events_url":"https://api.github.com/users/JuanitoFatas/received_events","type":"User","site_admin":false},"body":"No spaces between closing parenthesis and period.\r\n\r\n） 。 => ）。","created_at":"2014-09-28T13:12:43Z","updated_at":"2014-09-28T13:12:43Z","html_url":"https://github.com/adambard/learnxinyminutes-docs/pull/788#discussion_r18129576","pull_request_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/788","_links":{"self":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/comments/18129576"},"html":{"href":"https://github.com/adambard/learnxinyminutes-docs/pull/788#discussion_r18129576"},"pull_request":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/788"}}},"pull_request":{"url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/788","id":21832247,"html_url":"https://github.com/adambard/learnxinyminutes-docs/pull/788","diff_url":"https://github.com/adambard/learnxinyminutes-docs/pull/788.diff","patch_url":"https://github.com/adambard/learnxinyminutes-docs/pull/788.patch","issue_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/788","number":788,"state":"open","locked":false,"title":"LiveScript translation of zh-cn","user":{"login":"SDLyu","id":2996108,"avatar_url":"https://avatars.githubusercontent.com/u/2996108?v=2","gravatar_id":"","url":"https://api.github.com/users/SDLyu","html_url":"https://github.com/SDLyu","followers_url":"https://api.github.com/users/SDLyu/followers","following_url":"https://api.github.com/users/SDLyu/following{/other_user}","gists_url":"https://api.github.com/users/SDLyu/gists{/gist_id}","starred_url":"https://api.github.com/users/SDLyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDLyu/subscriptions","organizations_url":"https://api.github.com/users/SDLyu/orgs","repos_url":"https://api.github.com/users/SDLyu/repos","events_url":"https://api.github.com/users/SDLyu/events{/privacy}","received_events_url":"https://api.github.com/users/SDLyu/received_events","type":"User","site_admin":false},"body":"Add LiveScript translation of zh-cn version.","created_at":"2014-09-26T07:20:32Z","updated_at":"2014-09-28T13:12:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75d227bda0d90e9d637734b80791a77888409586","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/788/commits","review_comments_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/788/comments","review_comment_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/comments/{number}","comments_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/788/comments","statuses_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/statuses/0c77c29c88f850d81a884d90a036c50931157782","head":{"label":"SDLyu:master","ref":"master","sha":"0c77c29c88f850d81a884d90a036c50931157782","user":{"login":"SDLyu","id":2996108,"avatar_url":"https://avatars.githubusercontent.com/u/2996108?v=2","gravatar_id":"","url":"https://api.github.com/users/SDLyu","html_url":"https://github.com/SDLyu","followers_url":"https://api.github.com/users/SDLyu/followers","following_url":"https://api.github.com/users/SDLyu/following{/other_user}","gists_url":"https://api.github.com/users/SDLyu/gists{/gist_id}","starred_url":"https://api.github.com/users/SDLyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDLyu/subscriptions","organizations_url":"https://api.github.com/users/SDLyu/orgs","repos_url":"https://api.github.com/users/SDLyu/repos","events_url":"https://api.github.com/users/SDLyu/events{/privacy}","received_events_url":"https://api.github.com/users/SDLyu/received_events","type":"User","site_admin":false},"repo":{"id":24489887,"name":"learnxinyminutes-docs","full_name":"SDLyu/learnxinyminutes-docs","owner":{"login":"SDLyu","id":2996108,"avatar_url":"https://avatars.githubusercontent.com/u/2996108?v=2","gravatar_id":"","url":"https://api.github.com/users/SDLyu","html_url":"https://github.com/SDLyu","followers_url":"https://api.github.com/users/SDLyu/followers","following_url":"https://api.github.com/users/SDLyu/following{/other_user}","gists_url":"https://api.github.com/users/SDLyu/gists{/gist_id}","starred_url":"https://api.github.com/users/SDLyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDLyu/subscriptions","organizations_url":"https://api.github.com/users/SDLyu/orgs","repos_url":"https://api.github.com/users/SDLyu/repos","events_url":"https://api.github.com/users/SDLyu/events{/privacy}","received_events_url":"https://api.github.com/users/SDLyu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SDLyu/learnxinyminutes-docs","description":"Code documentation written as code! How novel and totally my idea!","fork":true,"url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs","forks_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/forks","keys_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/teams","hooks_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/hooks","issue_events_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/issues/events{/number}","events_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/events","assignees_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/assignees{/user}","branches_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/branches{/branch}","tags_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/tags","blobs_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/languages","stargazers_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/stargazers","contributors_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/contributors","subscribers_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/subscribers","subscription_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/subscription","commits_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/issues/comments/{number}","contents_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/contents/{+path}","compare_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/merges","archive_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/downloads","issues_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/issues{/number}","pulls_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/labels{/name}","releases_url":"https://api.github.com/repos/SDLyu/learnxinyminutes-docs/releases{/id}","created_at":"2014-09-26T07:08:23Z","updated_at":"2014-09-25T04:27:31Z","pushed_at":"2014-09-26T08:16:31Z","git_url":"git://github.com/SDLyu/learnxinyminutes-docs.git","ssh_url":"git@github.com:SDLyu/learnxinyminutes-docs.git","clone_url":"https://github.com/SDLyu/learnxinyminutes-docs.git","svn_url":"https://github.com/SDLyu/learnxinyminutes-docs","homepage":"http://learnxinyminutes.com/","size":4170,"stargazers_count":0,"watchers_count":0,"language":null,"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":"adambard:master","ref":"master","sha":"66f62c63cad4fa100ddc13368486538e0b7dd797","user":{"login":"adambard","id":515720,"avatar_url":"https://avatars.githubusercontent.com/u/515720?v=2","gravatar_id":"","url":"https://api.github.com/users/adambard","html_url":"https://github.com/adambard","followers_url":"https://api.github.com/users/adambard/followers","following_url":"https://api.github.com/users/adambard/following{/other_user}","gists_url":"https://api.github.com/users/adambard/gists{/gist_id}","starred_url":"https://api.github.com/users/adambard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambard/subscriptions","organizations_url":"https://api.github.com/users/adambard/orgs","repos_url":"https://api.github.com/users/adambard/repos","events_url":"https://api.github.com/users/adambard/events{/privacy}","received_events_url":"https://api.github.com/users/adambard/received_events","type":"User","site_admin":false},"repo":{"id":10974951,"name":"learnxinyminutes-docs","full_name":"adambard/learnxinyminutes-docs","owner":{"login":"adambard","id":515720,"avatar_url":"https://avatars.githubusercontent.com/u/515720?v=2","gravatar_id":"","url":"https://api.github.com/users/adambard","html_url":"https://github.com/adambard","followers_url":"https://api.github.com/users/adambard/followers","following_url":"https://api.github.com/users/adambard/following{/other_user}","gists_url":"https://api.github.com/users/adambard/gists{/gist_id}","starred_url":"https://api.github.com/users/adambard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambard/subscriptions","organizations_url":"https://api.github.com/users/adambard/orgs","repos_url":"https://api.github.com/users/adambard/repos","events_url":"https://api.github.com/users/adambard/events{/privacy}","received_events_url":"https://api.github.com/users/adambard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adambard/learnxinyminutes-docs","description":"Code documentation written as code! How novel and totally my idea!","fork":false,"url":"https://api.github.com/repos/adambard/learnxinyminutes-docs","forks_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/forks","keys_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/teams","hooks_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/hooks","issue_events_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/events{/number}","events_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/events","assignees_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/assignees{/user}","branches_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/branches{/branch}","tags_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/tags","blobs_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/languages","stargazers_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/stargazers","contributors_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/contributors","subscribers_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/subscribers","subscription_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/subscription","commits_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/comments/{number}","contents_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/contents/{+path}","compare_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/merges","archive_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/downloads","issues_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues{/number}","pulls_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/labels{/name}","releases_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/releases{/id}","created_at":"2013-06-26T17:58:34Z","updated_at":"2014-09-27T18:50:18Z","pushed_at":"2014-09-27T19:59:12Z","git_url":"git://github.com/adambard/learnxinyminutes-docs.git","ssh_url":"git@github.com:adambard/learnxinyminutes-docs.git","clone_url":"https://github.com/adambard/learnxinyminutes-docs.git","svn_url":"https://github.com/adambard/learnxinyminutes-docs","homepage":"http://learnxinyminutes.com/","size":7814,"stargazers_count":1841,"watchers_count":1841,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":586,"mirror_url":null,"open_issues_count":59,"forks":586,"open_issues":59,"watchers":1841,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/788"},"html":{"href":"https://github.com/adambard/learnxinyminutes-docs/pull/788"},"issue":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/788"},"comments":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/788/comments"},"review_comments":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/788/comments"},"review_comment":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/788/commits"},"statuses":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/statuses/0c77c29c88f850d81a884d90a036c50931157782"}}}}