Skip to content

Commit

Permalink
Fix module JSDoc examples. (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry authored and lukesneeringer committed Oct 13, 2017
1 parent 5af4c4c commit 9148527
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions packages/google-cloud-language/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,17 @@ const gapic = Object.freeze({
* @module {object} @google-cloud/language
* @alias nodejs-language
*
* @example <caption>Install the client library with
* <a href="https://www.npmjs.com/">npm</a>:</caption>
* @example <caption>Install the client library with <a href="https://www.npmjs.com/">npm</a>:</caption>
* npm install --save @google-cloud/language
*
* @example <caption>Import the client library:</caption>
* const language = require('@google-cloud/language');
*
* @example <caption>Create a client that uses
* <a href="https://goo.gl/64dyYX">Application Default Credentials
* (ADC)</a>:</caption>
* let client = new language.LanguageServiceClient();
* @example <caption>Create a client that uses <a href="https://goo.gl/64dyYX">Application Default Credentials (ADC)</a>:</caption>
* const client = new language.LanguageServiceClient();
*
* @example <caption>Create a client with
* <a href="https://goo.gl/RXp6VL">explicit credentials</a>:</caption>
* let client = new language.LanguageServiceClient({
* @example <caption>Create a client with <a href="https://goo.gl/RXp6VL">explicit credentials</a>:</caption>
* const client = new language.LanguageServiceClient({
* projectId: 'your-project-id',
* keyFilename: '/path/to/keyfile.json',
* });
Expand Down

0 comments on commit 9148527

Please sign in to comment.