Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- container = {}
- container.fruit = ['apple','orange','mango','banana','pineappel'];
- setTimeout(function(){
- if(container.fruit.length != $(".allfruit").length)
- {
- //code
- }
- },1500)
- function createSubFolder(foldernaam)
- {
- var body = new Object();
- body.title = foldernaam;
- body.parents = [{'id': resp.id}];
- body.mimeType = "application/vnd.google-apps.folder";
- console.log(body)
- var request = gapi.client.request({
- 'path': '/drive/v2/files',
- 'method': 'POST',
- 'body': JSON.stringify(body)
- });
- request.execute(function(resp) { });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement