Skip to content

Commit a57df05

Browse files
committed
Merge branch 'master' of github.com:gsuitedevs/apps-script-samples
2 parents c5d6ab9 + 43a5a5b commit a57df05

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

apps-script/execute/target.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// [START api_target]
12
/**
23
* Return the set of folder names contained in the user's root folder as an
34
* object (with folder IDs as keys).
@@ -13,3 +14,4 @@ function getFoldersUnderRoot() {
1314
}
1415
return folderSet;
1516
}
17+
// [END api_target]

docs/translate/sidebar.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- [START docs_translate_quickstart] -->
12
<!DOCTYPE html>
23
<html>
34
<head>
@@ -197,3 +198,4 @@
197198
</script>
198199
</body>
199200
</html>
201+
<!-- [END docs_translate_quickstart] -->

slides/imageSlides/imageSlides.gs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ function main() {
5454
/**
5555
* Creates a single slide using the image from the given link;
5656
* used directly by foreach(), hence the parameters are fixed.
57-
* @param {Date} imageUrl A String object representing an image URL
58-
* @param {Date} index The index into the array; unused (req'd by forEach)
57+
* @param {string} imageUrl A String object representing an image URL
58+
* @param {number} index The index into the array; unused (req'd by forEach)
5959
*/
6060
function addImageSlide(imageUrl, index) {
6161
var slide = presentation.appendSlide(SlidesApp.PredefinedLayout.BLANK);
@@ -78,8 +78,8 @@ var presentation = SlidesApp.create(NAME);
7878
/**
7979
* Creates a single slide using the image from the given link;
8080
* used directly by foreach(), hence the parameters are fixed.
81-
* @param {Date} imageUrl A String object representing an image URL
82-
* @param {Date} index The index into the array; unused (req'd by forEach)
81+
* @param {string} imageUrl A String object representing an image URL
82+
* @param {number} index The index into the array; unused (req'd by forEach)
8383
*/
8484
function addImageSlide(imageUrl, index) {
8585
var slide = presentation.appendSlide(SlidesApp.PredefinedLayout.BLANK);

0 commit comments

Comments
 (0)