Lines Matching refs:file
29 addToRecent = function(file) argument
31 if (file == null)
38 delete file['@microsoft.graph.downloadUrl'];
39 recentList[file.id] = file;
272 function getDrawioFileDoc(file, success, error) argument
274 if (file['@microsoft.graph.downloadUrl'] == null)
276 if (file.parentReference == null)
282 getODFileInfo(file.id, file.parentReference.driveId, function(completeFile)
293 req.open('GET', file['@microsoft.graph.downloadUrl']);
294 var isPng = file.file? (file.file.mimeType == 'image/png') : false;
362 function renderFile(file) argument
381 if (file == null || file.folder)
392 if (file.remoteItem != null)
394 file = file.remoteItem;
397 loadingPreviewFile = file;
399 getDrawioFileDoc(file, function(doc)
401 if (loadingPreviewFile != file)
695 var file = list[i];
696 var mimeType = file.file? file.file.mimeType : null;
698 …if (file.folder || mimeType == 'text/html' || mimeType == 'text/xml' || mimeType == 'application/x…
699 …|| /\.svg$/.test(file.name) || /\.html$/.test(file.name) || /\.xml$/.test(file.name) || /\.png$/.t…
700 || /\.drawio$/.test(file.name))
702 potentialDrawioFiles.push(file);