@nine-lab/nine-mu 0.1.31 → 0.1.32

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nine-lab/nine-mu",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "description": "AI-Driven Full-Stack Code Fabrication Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/nine-mu.umd.js",
@@ -470,7 +470,6 @@ export class NineDiff extends HTMLElement {
470
470
  return;
471
471
  }
472
472
 
473
-
474
473
  //console.log(src1, src2, language);
475
474
 
476
475
  this.#isScrollSyncActive = false;
@@ -53,7 +53,10 @@ export class NineDiffPopup extends HTMLElement {
53
53
  if (this.#diffView) {
54
54
  const asisStr = typeof data.asis === 'object' ? JSON.stringify(data.asis, null, 2) : data.asis;
55
55
  const tobeStr = typeof data.tobe === 'object' ? JSON.stringify(data.tobe, null, 2) : data.tobe;
56
- this.#diffView.initialize(asisStr, tobeStr, data.lang || "javascript");
56
+
57
+ setTimeout(() => {
58
+ this.#diffView.initialize(asisStr, tobeStr, data.lang || "");
59
+ }, 100);
57
60
  }
58
61
 
59
62
  this.#dialog.showModal();