@seafile/sdoc-editor 0.1.154-beta3 → 0.1.154-beta4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -92,11 +92,11 @@ var SeafileAPI = /*#__PURE__*/function () {
92
92
  var url = 'api/v2.1/seadoc/revision/basic-version-content/' + docUuid + '/';
93
93
  return this.req.get(url);
94
94
  }
95
+
96
+ // local files
95
97
  }, {
96
98
  key: "getSdocFiles",
97
- value:
98
- // local files
99
- function getSdocFiles(docUuid, p, type) {
99
+ value: function getSdocFiles(docUuid, p, type) {
100
100
  var url = 'api/v2.1/seadoc/dir/' + docUuid + '/?p=' + p + '&type=' + type + '&doc_uuid=' + docUuid;
101
101
  return this.req.get(url);
102
102
  }
@@ -275,6 +275,7 @@ var SimpleEditor = function SimpleEditor(_ref) {
275
275
  var originFileURL = context.getSetting('originFileURL');
276
276
  jumpToURL(originFileURL);
277
277
  }).catch(function (error) {
278
+ console.log(error);
278
279
  toaster.danger(t('Error'));
279
280
  });
280
281
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "0.1.154beta3",
3
+ "version": "0.1.154beta4",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",