This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function getValues(theCollection) { | |
console.log("start"); | |
var result; | |
return db //note this return________ | |
.collection(theCollection) | |
.get() | |
.then(snapshot => { | |
let theData = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.wrap-collabsible { | |
margin-bottom: 1.2rem 0; | |
} | |
input[type='checkbox'] { | |
display: none; | |
} | |
.lbl-toggle { | |
display: block; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fetch(url) | |
.then(resp => resp.json()) | |
.then(function(result) {}) |