From c1848298c7d30919fa3c4aaf984536382a80ba8f Mon Sep 17 00:00:00 2001 From: Adam Ross Date: Wed, 30 Jan 2019 18:53:36 -0800 Subject: [PATCH] functions/tips: adjust snippet namespaces for multi-purpose use. --- functions/tips/index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/functions/tips/index.js b/functions/tips/index.js index e9b4d9ced6..70a90713a4 100644 --- a/functions/tips/index.js +++ b/functions/tips/index.js @@ -35,10 +35,10 @@ const fileWideComputation = lightComputation; const instanceVar = heavyComputation(); /** - * HTTP Cloud Function that declares a variable. + * HTTP function that declares a variable. * - * @param {Object} req Cloud Function request context. - * @param {Object} res Cloud Function response context. + * @param {Object} req request context. + * @param {Object} res response context. */ exports.scopeDemo = (req, res) => { // Per-function scope @@ -57,10 +57,10 @@ const nonLazyGlobal = fileWideComputation(); let lazyGlobal; /** - * HTTP Cloud Function that uses lazy-initialized globals + * HTTP function that uses lazy-initialized globals * - * @param {Object} req Cloud Function request context. - * @param {Object} res Cloud Function response context. + * @param {Object} req request context. + * @param {Object} res response context. */ exports.lazyGlobals = (req, res) => { // This value is initialized only if (and when) the function is called