wrapped global initialization of 'NW', 'NW.Event' and the 'NW.Dom' add-on each inside their own main scope, window does not normally exists in many server side javascript environments also NWEvents itself is of no use without a DOM layer and DOM Events, though Javascript object notifications can be implemented both in SpiderMonkey and V8, changed a semicolon with a comma, bumped release date and removed some extra tabs and spaces
wrapped global initialization of 'NW', 'NW.Event' and the 'NW.Dom' add-on each inside their own main scope, window does not normally exists in many server side javascript environments also NWEvents itself is of no use without a DOM layer and DOM Events, though Javascript object notifications can be implemented both in SpiderMonkey and V8, changed a semicolon with a comma, bumped release date and removed some extra tabs and spaces

dperini/nwevents