Lines Matching refs:file

404 			var file = null;
417 file = new LocalFile(this, data, path, true);
421 success((file != null) ? file :
614 DropboxClient.prototype.renameFile = function(file, filename, success, error) argument
623 if (file != null && filename != null)
625 var path = file.stat.path_display.substring(1);
634 …if (file != null && filename != null && file.stat.path_lower.substring(1) !== filename.toLowerCase…
645 return this.client.filesMove({from_path: file.stat.path_display, to_path: '/' +
830 DropboxClient.prototype.createLibrary = function(file, success, error) argument
833 [file.name]), mxUtils.bind(this, function()
835 this.ui.editor.loadUrl(file.link, mxUtils.bind(this, function(data)
837 this.insertFile(file.name, data, mxUtils.bind(this, function(newFile)
866 fn = (fn != null) ? fn : mxUtils.bind(this, function(path, file) argument
868 this.ui.loadFile((path != null) ? 'D' + encodeURIComponent(path) : file.getHash(), null, file);
899 var success = mxUtils.bind(this, function(path, file) argument
902 fn(path, file);
927 var file = null;
940 file = new LocalFile(this, data, rel, true);
945 fn(rel.substring(1), (file != null) ? file : new DropboxFile(this.ui, data, stat));
975 DropboxClient.prototype.createFile = function(file, success, error) argument
977 var binary = /(\.png)$/i.test(file.name);
979 this.ui.editor.loadUrl(file.link, mxUtils.bind(this, function(data)
983 …urces.get('note') + ': ' + mxResources.get('fileWillBeSavedInAppFolder', [file.name]), mxUtils.bin…
997 this.insertFile(file.name, data, mxUtils.bind(this, function(newFile)
999 success(file.name, newFile);