Skip to content

Commit

Permalink
Move description from docs into code sample (#630)
Browse files Browse the repository at this point in the history
As part of making the GCF docs language-agnostic, we are removing language-specific comments from the text and putting them into the code samples instead as code comments.
  • Loading branch information
labtopia authored and Ace Nassri committed Jun 4, 2018
1 parent ce28093 commit 7c98f38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions functions/helloworld/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ exports.helloBackground = (event, callback) => {
// [START functions_helloworld_pubsub]
/**
* Background Cloud Function to be triggered by Pub/Sub.
* This function is exported by index.js, and executed when
* the trigger topic receives a message.
*
* @param {object} event The Cloud Functions event.
* @param {function} callback The callback function.
Expand Down

0 comments on commit 7c98f38

Please sign in to comment.