var base = require('jsio.base');

GLOBAL.Class = base.Class;
GLOBAL.merge = base.merge;
GLOBAL.bind = base.bind;

// catch SIGTERM and SIGINT so `exit` events properly trigger on the process
// object (e.g. killing child processes)
process.on('SIGTERM', function () {
  process.exit(1);
});

process.on('SIGINT', function () {
  process.exit(2);
});

if (process.env.DEVKIT_TRACE) {
  trace = function devkitTrace () {
    console.log.apply(console, arguments);
  };

  process.env.BLUEBIRD_DEBUG = 1;
} else {
  trace = function () {};
}

Promise = require('bluebird');

@@ -560,12 +560,431 @@
 bluebird');%0A
+%0A/**%0A * Show devkit trace information%0A */%0Avar version = require(__dirname + '/../package.json').version;%0Atrace('--------------------------------------------------------------------------------');%0Atrace('------------------------- GAME CLOSURE DEVKIT TRACE ----------------------------');%0Atrace('--------------------------------------------------------------------------------');%0Atrace('  VERSION =%3E', version, '%5Cn%5Cn');%0A%0A

Print devkit header and version info when tracing