GitHubLibrary.js 584 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * Copyright (c) 2006-2017, JGraph Ltd
  3. * Copyright (c) 2006-2017, Gaudenz Alder
  4. */
  5. GitHubLibrary = function(ui, data, meta)
  6. {
  7. GitHubFile.call(this, ui, data, meta);
  8. };
  9. //Extends mxEventSource
  10. mxUtils.extend(GitHubLibrary, GitHubFile);
  11. /**
  12. * Overridden to avoid updating data with current file.
  13. */
  14. GitHubLibrary.prototype.doSave = function(title, success, error)
  15. {
  16. this.saveFile(title, false, success, error);
  17. };
  18. /**
  19. * Returns the location as a new object.
  20. * @type mx.Point
  21. */
  22. GitHubLibrary.prototype.open = function()
  23. {
  24. // Do nothing - this should never be called
  25. };