{"action":"created","comment":{"url":"https://api.github.com/repos/vuejs-fr/vuejs.org/pulls/comments/103260645","pull_request_review_id":24041718,"id":103260645,"diff_hunk":"@@ -383,28 +383,28 @@ Vue wraps an observed array's mutation methods so they will also trigger view up\n - `sort()`\n - `reverse()`\n \n-You can open the console and play with the previous examples' `items` array by calling their mutation methods. For example: `example1.items.push({ message: 'Baz' })`.\n+Vous pouvez ouvrir la console et jouer avec les `items` (éléments) de tableau des exemples précédents en appelant leurs méthodes de mutation. Par exemple : `example1.items.push({ message: 'Baz' })`.\n \n-### Replacing an Array\n+### Remplacer un tableau\n \n-Mutation methods, as the name suggests, mutate the original array they are called on. In comparison, there are also non-mutating methods, e.g. `filter()`, `concat()` and `slice()`, which do not mutate the original Array but **always return a new array**. When working with non-mutating methods, you can just replace the old array with the new one:\n+Les méthodes de mutation changent le tableau original sur lesquelles elles sont appelées. En comparaison, il y a aussi des méthodes non-mutatives, ex. `filter()`, `concat()` et `slice()`, qui ne changent pas le tableau original mais **retourne toujours un nouveau tableau**. Quand vous travaillez avec des méthodes non-mutatives, vous pouvez juste remplacer l'ancien tableau par le nouveau :\n \n ``` js\n example1.items = example1.items.filter(function (item) {\n   return item.message.match(/Foo/)\n })\n ```\n \n-You might think this will cause Vue to throw away the existing DOM and re-render the entire list - luckily, that is not the case. Vue implements some smart heuristics to maximize DOM element reuse, so replacing an array with another array containing overlapping objects is a very efficient operation.\n+Vous pouvez penser que cela va forcer Vue à jeter le DOM existant et à faire le rendu de nouveau sur la liste entière ? Par chance, cela n'est pas le cas. Vue implémente plusieurs fonctions heuristiques intelligentes pour optimiser la réutilisation du DOM existant ; ainsi remplacer un tableau par un autre contenant des objets supplémentaires est une opération très performante.\n \n-### Caveats\n+### Limitations\n \n-Due to limitations in JavaScript, Vue **cannot** detect the following changes to an array:\n+À cause des limitations du JavaScript, Vue **ne peut pas** détecter les changements suivants dans un tableau :","path":"src/v2/guide/list.md","position":264,"original_position":264,"commit_id":"a338c99b2e35a250ec1f2bf4c47c67043169d273","original_commit_id":"a338c99b2e35a250ec1f2bf4c47c67043169d273","user":{"login":"Haeresis","id":3882169,"avatar_url":"https://avatars.githubusercontent.com/u/3882169?v=3","gravatar_id":"","url":"https://api.github.com/users/Haeresis","html_url":"https://github.com/Haeresis","followers_url":"https://api.github.com/users/Haeresis/followers","following_url":"https://api.github.com/users/Haeresis/following{/other_user}","gists_url":"https://api.github.com/users/Haeresis/gists{/gist_id}","starred_url":"https://api.github.com/users/Haeresis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haeresis/subscriptions","organizations_url":"https://api.github.com/users/Haeresis/orgs","repos_url":"https://api.github.com/users/Haeresis/repos","events_url":"https://api.github.com/users/Haeresis/events{/privacy}","received_events_url":"https://api.github.com/users/Haeresis/received_events","type":"User","site_admin":false},"body":"Initialement « de », j'ai changé en faveur de « du » et non en faveur de « en »\r\n\r\n« du » pour « À case des limitations du (langage) JavaScript » ","created_at":"2017-02-27T17:16:22Z","updated_at":"2017-02-27T17:16:22Z","html_url":"https://github.com/vuejs-fr/vuejs.org/pull/31#discussion_r103260645","pull_request_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/vuejs-fr/vuejs.org/pulls/comments/103260645"},"html":{"href":"https://github.com/vuejs-fr/vuejs.org/pull/31#discussion_r103260645"},"pull_request":{"href":"https://api.github.com/repos/vuejs-fr/vuejs.org/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/vuejs-fr/vuejs.org/pulls/31","id":107657084,"html_url":"https://github.com/vuejs-fr/vuejs.org/pull/31","diff_url":"https://github.com/vuejs-fr/vuejs.org/pull/31.diff","patch_url":"https://github.com/vuejs-fr/vuejs.org/pull/31.patch","issue_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/issues/31","number":31,"state":"open","locked":false,"title":"Traduction list.md","user":{"login":"Haeresis","id":3882169,"avatar_url":"https://avatars.githubusercontent.com/u/3882169?v=3","gravatar_id":"","url":"https://api.github.com/users/Haeresis","html_url":"https://github.com/Haeresis","followers_url":"https://api.github.com/users/Haeresis/followers","following_url":"https://api.github.com/users/Haeresis/following{/other_user}","gists_url":"https://api.github.com/users/Haeresis/gists{/gist_id}","starred_url":"https://api.github.com/users/Haeresis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haeresis/subscriptions","organizations_url":"https://api.github.com/users/Haeresis/orgs","repos_url":"https://api.github.com/users/Haeresis/repos","events_url":"https://api.github.com/users/Haeresis/events{/privacy}","received_events_url":"https://api.github.com/users/Haeresis/received_events","type":"User","site_admin":false},"body":"À vos revus ! Comme d'hab avec moi y a du boulot :s ","created_at":"2017-02-23T16:12:17Z","updated_at":"2017-02-27T17:16:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a040aa5d7ce1e1bd592e883558a8d783011ffd0a","assignee":{"login":"Haeresis","id":3882169,"avatar_url":"https://avatars.githubusercontent.com/u/3882169?v=3","gravatar_id":"","url":"https://api.github.com/users/Haeresis","html_url":"https://github.com/Haeresis","followers_url":"https://api.github.com/users/Haeresis/followers","following_url":"https://api.github.com/users/Haeresis/following{/other_user}","gists_url":"https://api.github.com/users/Haeresis/gists{/gist_id}","starred_url":"https://api.github.com/users/Haeresis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haeresis/subscriptions","organizations_url":"https://api.github.com/users/Haeresis/orgs","repos_url":"https://api.github.com/users/Haeresis/repos","events_url":"https://api.github.com/users/Haeresis/events{/privacy}","received_events_url":"https://api.github.com/users/Haeresis/received_events","type":"User","site_admin":false},"assignees":[{"login":"Haeresis","id":3882169,"avatar_url":"https://avatars.githubusercontent.com/u/3882169?v=3","gravatar_id":"","url":"https://api.github.com/users/Haeresis","html_url":"https://github.com/Haeresis","followers_url":"https://api.github.com/users/Haeresis/followers","following_url":"https://api.github.com/users/Haeresis/following{/other_user}","gists_url":"https://api.github.com/users/Haeresis/gists{/gist_id}","starred_url":"https://api.github.com/users/Haeresis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haeresis/subscriptions","organizations_url":"https://api.github.com/users/Haeresis/orgs","repos_url":"https://api.github.com/users/Haeresis/repos","events_url":"https://api.github.com/users/Haeresis/events{/privacy}","received_events_url":"https://api.github.com/users/Haeresis/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/pulls/31/commits","review_comments_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/pulls/31/comments","review_comment_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/issues/31/comments","statuses_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/statuses/a338c99b2e35a250ec1f2bf4c47c67043169d273","head":{"label":"Haeresis:master","ref":"master","sha":"a338c99b2e35a250ec1f2bf4c47c67043169d273","user":{"login":"Haeresis","id":3882169,"avatar_url":"https://avatars.githubusercontent.com/u/3882169?v=3","gravatar_id":"","url":"https://api.github.com/users/Haeresis","html_url":"https://github.com/Haeresis","followers_url":"https://api.github.com/users/Haeresis/followers","following_url":"https://api.github.com/users/Haeresis/following{/other_user}","gists_url":"https://api.github.com/users/Haeresis/gists{/gist_id}","starred_url":"https://api.github.com/users/Haeresis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haeresis/subscriptions","organizations_url":"https://api.github.com/users/Haeresis/orgs","repos_url":"https://api.github.com/users/Haeresis/repos","events_url":"https://api.github.com/users/Haeresis/events{/privacy}","received_events_url":"https://api.github.com/users/Haeresis/received_events","type":"User","site_admin":false},"repo":{"id":82925860,"name":"vuejs.org","full_name":"Haeresis/vuejs.org","owner":{"login":"Haeresis","id":3882169,"avatar_url":"https://avatars.githubusercontent.com/u/3882169?v=3","gravatar_id":"","url":"https://api.github.com/users/Haeresis","html_url":"https://github.com/Haeresis","followers_url":"https://api.github.com/users/Haeresis/followers","following_url":"https://api.github.com/users/Haeresis/following{/other_user}","gists_url":"https://api.github.com/users/Haeresis/gists{/gist_id}","starred_url":"https://api.github.com/users/Haeresis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haeresis/subscriptions","organizations_url":"https://api.github.com/users/Haeresis/orgs","repos_url":"https://api.github.com/users/Haeresis/repos","events_url":"https://api.github.com/users/Haeresis/events{/privacy}","received_events_url":"https://api.github.com/users/Haeresis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Haeresis/vuejs.org","description":"The FR website.","fork":true,"url":"https://api.github.com/repos/Haeresis/vuejs.org","forks_url":"https://api.github.com/repos/Haeresis/vuejs.org/forks","keys_url":"https://api.github.com/repos/Haeresis/vuejs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Haeresis/vuejs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Haeresis/vuejs.org/teams","hooks_url":"https://api.github.com/repos/Haeresis/vuejs.org/hooks","issue_events_url":"https://api.github.com/repos/Haeresis/vuejs.org/issues/events{/number}","events_url":"https://api.github.com/repos/Haeresis/vuejs.org/events","assignees_url":"https://api.github.com/repos/Haeresis/vuejs.org/assignees{/user}","branches_url":"https://api.github.com/repos/Haeresis/vuejs.org/branches{/branch}","tags_url":"https://api.github.com/repos/Haeresis/vuejs.org/tags","blobs_url":"https://api.github.com/repos/Haeresis/vuejs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Haeresis/vuejs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Haeresis/vuejs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/Haeresis/vuejs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Haeresis/vuejs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/Haeresis/vuejs.org/languages","stargazers_url":"https://api.github.com/repos/Haeresis/vuejs.org/stargazers","contributors_url":"https://api.github.com/repos/Haeresis/vuejs.org/contributors","subscribers_url":"https://api.github.com/repos/Haeresis/vuejs.org/subscribers","subscription_url":"https://api.github.com/repos/Haeresis/vuejs.org/subscription","commits_url":"https://api.github.com/repos/Haeresis/vuejs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/Haeresis/vuejs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/Haeresis/vuejs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/Haeresis/vuejs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/Haeresis/vuejs.org/contents/{+path}","compare_url":"https://api.github.com/repos/Haeresis/vuejs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Haeresis/vuejs.org/merges","archive_url":"https://api.github.com/repos/Haeresis/vuejs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Haeresis/vuejs.org/downloads","issues_url":"https://api.github.com/repos/Haeresis/vuejs.org/issues{/number}","pulls_url":"https://api.github.com/repos/Haeresis/vuejs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/Haeresis/vuejs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/Haeresis/vuejs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Haeresis/vuejs.org/labels{/name}","releases_url":"https://api.github.com/repos/Haeresis/vuejs.org/releases{/id}","deployments_url":"https://api.github.com/repos/Haeresis/vuejs.org/deployments","created_at":"2017-02-23T12:38:57Z","updated_at":"2017-02-23T12:38:59Z","pushed_at":"2017-02-25T10:26:04Z","git_url":"git://github.com/Haeresis/vuejs.org.git","ssh_url":"git@github.com:Haeresis/vuejs.org.git","clone_url":"https://github.com/Haeresis/vuejs.org.git","svn_url":"https://github.com/Haeresis/vuejs.org","homepage":"https://fr.vuejs.org/","size":30023,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"vuejs-fr:master","ref":"master","sha":"b5ff1ae173301d6f220035fccc11eb22ae17cbdb","user":{"login":"vuejs-fr","id":24529465,"avatar_url":"https://avatars.githubusercontent.com/u/24529465?v=3","gravatar_id":"","url":"https://api.github.com/users/vuejs-fr","html_url":"https://github.com/vuejs-fr","followers_url":"https://api.github.com/users/vuejs-fr/followers","following_url":"https://api.github.com/users/vuejs-fr/following{/other_user}","gists_url":"https://api.github.com/users/vuejs-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/vuejs-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuejs-fr/subscriptions","organizations_url":"https://api.github.com/users/vuejs-fr/orgs","repos_url":"https://api.github.com/users/vuejs-fr/repos","events_url":"https://api.github.com/users/vuejs-fr/events{/privacy}","received_events_url":"https://api.github.com/users/vuejs-fr/received_events","type":"Organization","site_admin":false},"repo":{"id":76281583,"name":"vuejs.org","full_name":"vuejs-fr/vuejs.org","owner":{"login":"vuejs-fr","id":24529465,"avatar_url":"https://avatars.githubusercontent.com/u/24529465?v=3","gravatar_id":"","url":"https://api.github.com/users/vuejs-fr","html_url":"https://github.com/vuejs-fr","followers_url":"https://api.github.com/users/vuejs-fr/followers","following_url":"https://api.github.com/users/vuejs-fr/following{/other_user}","gists_url":"https://api.github.com/users/vuejs-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/vuejs-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuejs-fr/subscriptions","organizations_url":"https://api.github.com/users/vuejs-fr/orgs","repos_url":"https://api.github.com/users/vuejs-fr/repos","events_url":"https://api.github.com/users/vuejs-fr/events{/privacy}","received_events_url":"https://api.github.com/users/vuejs-fr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vuejs-fr/vuejs.org","description":"The FR website.","fork":true,"url":"https://api.github.com/repos/vuejs-fr/vuejs.org","forks_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/forks","keys_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/teams","hooks_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/hooks","issue_events_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/issues/events{/number}","events_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/events","assignees_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/assignees{/user}","branches_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/branches{/branch}","tags_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/tags","blobs_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/languages","stargazers_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/stargazers","contributors_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/contributors","subscribers_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/subscribers","subscription_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/subscription","commits_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/contents/{+path}","compare_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/merges","archive_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/downloads","issues_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/issues{/number}","pulls_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/labels{/name}","releases_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/releases{/id}","deployments_url":"https://api.github.com/repos/vuejs-fr/vuejs.org/deployments","created_at":"2016-12-12T17:57:07Z","updated_at":"2017-02-17T11:38:03Z","pushed_at":"2017-02-27T13:19:18Z","git_url":"git://github.com/vuejs-fr/vuejs.org.git","ssh_url":"git@github.com:vuejs-fr/vuejs.org.git","clone_url":"https://github.com/vuejs-fr/vuejs.org.git","svn_url":"https://github.com/vuejs-fr/vuejs.org","homepage":"https://fr.vuejs.org/","size":30096,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":11,"mirror_url":null,"open_issues_count":6,"forks":11,"open_issues":6,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vuejs-fr/vuejs.org/pulls/31"},"html":{"href":"https://github.com/vuejs-fr/vuejs.org/pull/31"},"issue":{"href":"https://api.github.com/repos/vuejs-fr/vuejs.org/issues/31"},"comments":{"href":"https://api.github.com/repos/vuejs-fr/vuejs.org/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/vuejs-fr/vuejs.org/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/vuejs-fr/vuejs.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vuejs-fr/vuejs.org/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/vuejs-fr/vuejs.org/statuses/a338c99b2e35a250ec1f2bf4c47c67043169d273"}}}}
{"actor":{"display_login":"Haeresis"}}