commit | a29b921dc15c75af21a7817f6e39ee1063446a4b | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Wed May 23 07:42:37 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed May 23 07:42:37 2018 +0000 |
tree | 787583c4373256a59c86bd20d6684cda82d1563f | |
parent | 4df6badd576763329dbf9af6d60014cf95280d06 [diff] | |
parent | 1d56cd75d179dc3a856ff20f61561a14edf2b3ac [diff] |
Merge "Doc: Fix code example in JS API" into stable-2.14
diff --git a/Documentation/js-api.txt b/Documentation/js-api.txt index f3b84d2..8a19720 100644 --- a/Documentation/js-api.txt +++ b/Documentation/js-api.txt
@@ -769,7 +769,7 @@ ---- Gerrit.get('/changes/?q=status:open', function (open) { for (var i = 0; i < open.length; i++) { - console.log(open.get(i).change_id); + console.log(open[i].change_id); } }); ----