Builder/Provider/File/Roo.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 29 Oct 2010 08:02:40 +0000 (16:02 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 29 Oct 2010 08:02:40 +0000 (16:02 +0800)
Builder/Provider/File/Roo.js

index 449ee95..3c84d6e 100755 (executable)
@@ -231,7 +231,10 @@ Roo = XObject.define(
             Base.prototype.save.call(this);
             // now write the js file..
             var js = this.path.replace(/\.bjs$/, '.js');
-            File.write(js, this.toSource());
+            var d = new Date();
+            var js_src = this.toSource();
+            print("TO SOURCE in " + ((new Date()) - d) + "ms");
+            File.write(js, js_src);