UNPKG

nikki

Version:

A browser-based IDE written in NodeJS. For Real.

26 lines (23 loc) 463 B
/** * Setup the sockets. */ var socket = require('./socket'); var events = require('./events'); /** * Boot the config. */ require('./config'); /** * Once the config is loaded, boot the app. */ events.on('config.loaded', function(){ require('./fs'); require('./resource'); require('./keyboard-shortcuts'); require('./ui'); require('./error-handler'); /** * FUN TIMES AHEAD! */ socket.emit('boot', {path: window.location.pathname}); });