var app = module.exports = require('appjs');

app.get('/',function(req,res,next){
  res.send("Hello World!");
});

var window = app.createWindow("http://appjs/", {
  width: 640,
  height: 460,
  left: -1, // remove x and y if you want to put window at center, -1 means the same
  top: -1, // remove x and y if you want to put window at center, -1 means the same
  autoResize: false, // set to true if you want to change screen size dynamically using html elements
  resizable: false, // prevent users from changing screen width or height
  showChrome: true, // show border and title bar
  opacity: 1, // you can set opacity of window.
  alpha: false, // alpha compositing of the window background
  fullscreen: false, // we don't need fullscreen window
  showResizeGrip: false, // resize grip is an annoying triangle at the right bottom corner of window
  disableSecurity: true, // allow cross origin requests
});


window.on("ready",function(){
  console.log("Window Created");
  this.show();
});

window.on("close",function(){
  console.log("Window Closed");
});

@@ -924,13 +924,14 @@
 on(%22
+c
 rea
-dy
+te
 %22,fu
@@ -973,16 +973,82 @@
 ated%22);%0A
+%7D);%0A%0Awindow.on(%22ready%22,function()%7B%0A  console.log(%22Window Ready%22);%0A
   this.s

bring back create event in app.js