Skip to content

Commit 9148527

Browse files
jmdobrylukesneeringer
authored andcommitted
Fix module JSDoc examples. (#9)
1 parent 5af4c4c commit 9148527

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

  • packages/google-cloud-language/src

packages/google-cloud-language/src/index.js

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,17 @@ const gapic = Object.freeze({
5353
* @module {object} @google-cloud/language
5454
* @alias nodejs-language
5555
*
56-
* @example <caption>Install the client library with
57-
* <a href="https://www.npmjs.com/">npm</a>:</caption>
56+
* @example <caption>Install the client library with <a href="https://www.npmjs.com/">npm</a>:</caption>
5857
* npm install --save @google-cloud/language
5958
*
6059
* @example <caption>Import the client library:</caption>
6160
* const language = require('@google-cloud/language');
6261
*
63-
* @example <caption>Create a client that uses
64-
* <a href="https://goo.gl/64dyYX">Application Default Credentials
65-
* (ADC)</a>:</caption>
66-
* let client = new language.LanguageServiceClient();
62+
* @example <caption>Create a client that uses <a href="https://goo.gl/64dyYX">Application Default Credentials (ADC)</a>:</caption>
63+
* const client = new language.LanguageServiceClient();
6764
*
68-
* @example <caption>Create a client with
69-
* <a href="https://goo.gl/RXp6VL">explicit credentials</a>:</caption>
70-
* let client = new language.LanguageServiceClient({
65+
* @example <caption>Create a client with <a href="https://goo.gl/RXp6VL">explicit credentials</a>:</caption>
66+
* const client = new language.LanguageServiceClient({
7167
* projectId: 'your-project-id',
7268
* keyFilename: '/path/to/keyfile.json',
7369
* });

0 commit comments

Comments
 (0)