From a5639de0b976f03c433c0d59bc1cd9b50434d20c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 29 Oct 2010 15:59:32 +0800 Subject: [PATCH] Sample/Window.js --- Sample/Window.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sample/Window.js b/Sample/Window.js index 7e0d14085..74ee6b2e9 100644 --- a/Sample/Window.js +++ b/Sample/Window.js @@ -803,7 +803,9 @@ Window=new XObject({ this.el.set_value(iter, 2, [GObject.TYPE_STRING, this.nodeToJSON(n)]); } //this.currentTree = this.toJS(false, true)[0]; + var d = new Date(); this.file.items = this.toJS(false, false); + print ("TO JS in " + ((new Date()) - d) + "ms"); // print("AFTER CHANGED"); //console.dump(this.file.items); this.file.save(); -- 2.39.2