@nine-lab/nine-mu 0.1.39 → 0.1.41

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.39",
3
+ "version": "0.1.41",
4
4
  "description": "AI-Driven Full-Stack Code Fabrication Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/nine-mu.umd.js",
@@ -207,11 +207,14 @@ export class NineDiff extends HTMLElement {
207
207
  requestAnimationFrame(() => {
208
208
  this.#initCodeMirror();
209
209
 
210
+
210
211
  this.dispatchEvent(new CustomEvent('ready', {
211
212
  detail: { target: this },
212
213
  bubbles: true,
213
214
  composed: true
214
215
  }));
216
+
217
+ trace.log("dispatchEvent");
215
218
  });
216
219
  }
217
220
 
@@ -56,7 +56,9 @@ export class NineDiffPopup extends HTMLElement {
56
56
  const asisStr = typeof data.asis === 'object' ? JSON.stringify(data.asis, null, 2) : data.asis;
57
57
  const tobeStr = typeof data.tobe === 'object' ? JSON.stringify(data.tobe, null, 2) : data.tobe;
58
58
 
59
- this.#diffView.initialize(asisStr, tobeStr, data.lang || "javascript");
59
+ trace.log(asisStr, tobeStr);
60
+
61
+ this.#diffView.initialize(asisStr, tobeStr, data.lang);
60
62
  }, { once: true }); // 딱 한 번만 실행
61
63
 
62
64
  this.#dialog.showModal();