/
githubmirror
/
drawio
Обзор
Документация
Войти
/
githubmirror
/
drawio
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
src/main/webapp/js/diagramly/DropboxLibrary.js
39 строк
833 B
David Benson
28.2.0 release
05 сен 2025, 20:29
05 сен 2025, 20:29
947271f
Код
Авторство
О чём код?
/** * Copyright (c) 2006-2017, JGraph Holdings Ltd * Copyright (c) 2006-2017, draw.io AG */ DropboxLibrary = function(ui, data, stat) { DropboxFile.call(this, ui, data, stat); }; //Extends mxEventSource mxUtils.extend(DropboxLibrary, DropboxFile); /** * Translates this point by the given vector. * * @param {number} dx X-coordinate of the translation. * @param {number} dy Y-coordinate of the translation. */ DropboxLibrary.prototype.isAutosave = function() { return true; }; /** * Overridden to avoid updating data with current file. */ DropboxLibrary.prototype.doSave = function(title, success, error) { this.saveFile(title, false, success, error); }; /** * Returns the location as a new object. * @type mx.Point */ DropboxLibrary.prototype.open = function() { // Do nothing - this should never be called };