var vGlobals = {
dataString: "nuu"
};
Tabletop.init( { key: 'sfas234asefasdy569xbhxcvnvc',
callback: showInfo,
simpleSheet: true } )
function showInfo(data, tabletop) {
vGlobals.dataString = utf8.encode(base64.encode(data));
}
showInfo();
How do I access the data variable (first parameter in showInfo), so I can make the function call in the last line of the code? The showInfo function is a function in the npm module of tabletop.js.