@difizen/libro-cofine-editor-core 0.1.15 → 0.1.16

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.
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _class;
2
+ var _MonacoEnvironment;
3
3
  function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
4
4
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
5
5
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
@@ -256,19 +256,19 @@ export var MonacoEnvironment = /*#__PURE__*/function () {
256
256
  }]);
257
257
  return MonacoEnvironment;
258
258
  }();
259
- _class = MonacoEnvironment;
259
+ _MonacoEnvironment = MonacoEnvironment;
260
260
  MonacoEnvironment.loaders = [];
261
261
  MonacoEnvironment.preLoaders = [];
262
262
  MonacoEnvironment.moduleLoadStart = false;
263
263
  MonacoEnvironment.moduleInitDeferred = new Deferred();
264
264
  MonacoEnvironment.lazy = false;
265
265
  MonacoEnvironment.setContainer = function (container) {
266
- _class.container = container;
266
+ _MonacoEnvironment.container = container;
267
267
  if (!container.isBound(MonacoEnvironmentBound)) {
268
268
  container.register(MonacoEnvironmentBound, {
269
269
  useValue: true
270
270
  });
271
- _class.container.register(MonacoLoaderConfig, {
271
+ _MonacoEnvironment.container.register(MonacoLoaderConfig, {
272
272
  useValue: DefaultLoaderConfig
273
273
  });
274
274
  container.register(MonacoLoader);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-cofine-editor-core",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro",
@@ -33,7 +33,7 @@
33
33
  "src"
34
34
  ],
35
35
  "dependencies": {
36
- "@difizen/libro-cofine-editor-contribution": "^0.1.15",
36
+ "@difizen/libro-cofine-editor-contribution": "^0.1.16",
37
37
  "@difizen/mana-app": "latest",
38
38
  "@difizen/monaco-editor-core": "0.39.4",
39
39
  "debug": "^4.3.2",