Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
function onGotAllSlices(docdataSlices, access_token) {
updateStatus('handle all slices');
var docdata = [];
for (var i = 0; i < docdataSlices.length; i++) {
docdata = docdata.concat(docdataSlices[i]);
var fileContent = new String();
for (var j = 0; j < docdata.length; j++) {
fileContent += String.fromCharCode(docdata[j]);
uploadDocument(access_token, fileContent);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.