Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
docs: fix example comments (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Feb 5, 2019
1 parent 6b54110 commit 7b6e305
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
16 changes: 8 additions & 8 deletions src/v1/product_search_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ class ProductSearchClient {
* .then(responses => {
* const resources = responses[0];
* for (const resource of resources) {
* // doThingsWith(resources[i])
* // doThingsWith(resource)
* }
* })
* .catch(err => {
Expand All @@ -432,7 +432,7 @@ class ProductSearchClient {
* // The actual response object, if necessary.
* // const rawResponse = responses[2];
* for (const resource of resources) {
* // doThingsWith(resources[i]);
* // doThingsWith(resource);
* }
* if (nextRequest) {
* // Fetch the next page.
Expand Down Expand Up @@ -746,7 +746,7 @@ class ProductSearchClient {
* .then(responses => {
* const resources = responses[0];
* for (const resource of resources) {
* // doThingsWith(resources[i])
* // doThingsWith(resource)
* }
* })
* .catch(err => {
Expand All @@ -766,7 +766,7 @@ class ProductSearchClient {
* // The actual response object, if necessary.
* // const rawResponse = responses[2];
* for (const resource of resources) {
* // doThingsWith(resources[i]);
* // doThingsWith(resource);
* }
* if (nextRequest) {
* // Fetch the next page.
Expand Down Expand Up @@ -1160,7 +1160,7 @@ class ProductSearchClient {
* .then(responses => {
* const resources = responses[0];
* for (const resource of resources) {
* // doThingsWith(resources[i])
* // doThingsWith(resource)
* }
* })
* .catch(err => {
Expand All @@ -1180,7 +1180,7 @@ class ProductSearchClient {
* // The actual response object, if necessary.
* // const rawResponse = responses[2];
* for (const resource of resources) {
* // doThingsWith(resources[i]);
* // doThingsWith(resource);
* }
* if (nextRequest) {
* // Fetch the next page.
Expand Down Expand Up @@ -1604,7 +1604,7 @@ class ProductSearchClient {
* .then(responses => {
* const resources = responses[0];
* for (const resource of resources) {
* // doThingsWith(resources[i])
* // doThingsWith(resource)
* }
* })
* .catch(err => {
Expand All @@ -1624,7 +1624,7 @@ class ProductSearchClient {
* // The actual response object, if necessary.
* // const rawResponse = responses[2];
* for (const resource of resources) {
* // doThingsWith(resources[i]);
* // doThingsWith(resource);
* }
* if (nextRequest) {
* // Fetch the next page.
Expand Down
16 changes: 8 additions & 8 deletions src/v1p3beta1/product_search_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ class ProductSearchClient {
* .then(responses => {
* const resources = responses[0];
* for (const resource of resources) {
* // doThingsWith(resources[i])
* // doThingsWith(resource)
* }
* })
* .catch(err => {
Expand All @@ -431,7 +431,7 @@ class ProductSearchClient {
* // The actual response object, if necessary.
* // const rawResponse = responses[2];
* for (const resource of resources) {
* // doThingsWith(resources[i]);
* // doThingsWith(resource);
* }
* if (nextRequest) {
* // Fetch the next page.
Expand Down Expand Up @@ -809,7 +809,7 @@ class ProductSearchClient {
* .then(responses => {
* const resources = responses[0];
* for (const resource of resources) {
* // doThingsWith(resources[i])
* // doThingsWith(resource)
* }
* })
* .catch(err => {
Expand All @@ -829,7 +829,7 @@ class ProductSearchClient {
* // The actual response object, if necessary.
* // const rawResponse = responses[2];
* for (const resource of resources) {
* // doThingsWith(resources[i]);
* // doThingsWith(resource);
* }
* if (nextRequest) {
* // Fetch the next page.
Expand Down Expand Up @@ -1283,7 +1283,7 @@ class ProductSearchClient {
* .then(responses => {
* const resources = responses[0];
* for (const resource of resources) {
* // doThingsWith(resources[i])
* // doThingsWith(resource)
* }
* })
* .catch(err => {
Expand All @@ -1303,7 +1303,7 @@ class ProductSearchClient {
* // The actual response object, if necessary.
* // const rawResponse = responses[2];
* for (const resource of resources) {
* // doThingsWith(resources[i]);
* // doThingsWith(resource);
* }
* if (nextRequest) {
* // Fetch the next page.
Expand Down Expand Up @@ -1619,7 +1619,7 @@ class ProductSearchClient {
* .then(responses => {
* const resources = responses[0];
* for (const resource of resources) {
* // doThingsWith(resources[i])
* // doThingsWith(resource)
* }
* })
* .catch(err => {
Expand All @@ -1639,7 +1639,7 @@ class ProductSearchClient {
* // The actual response object, if necessary.
* // const rawResponse = responses[2];
* for (const resource of resources) {
* // doThingsWith(resources[i]);
* // doThingsWith(resource);
* }
* if (nextRequest) {
* // Fetch the next page.
Expand Down
10 changes: 5 additions & 5 deletions synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-02-02T12:27:39.142556Z",
"updateTime": "2019-02-05T12:22:47.592968Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.8",
"dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7"
"version": "0.16.9",
"dockerImage": "googleapis/artman@sha256:80c39fa84e7203c8f355e01bdeef82155013cc39dcaa48fba7a6fe2c253623e3"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a",
"internalRef": "231974277"
"sha": "f26c727dde5051abefc5ad9e7dee82a2686ad2b0",
"internalRef": "232306662"
}
},
{
Expand Down

0 comments on commit 7b6e305

Please sign in to comment.