     loadingTime = Date.now() - window.performance.timing.navigationStart
     console.log "User-perceived page loading time: #{loadingTime / 1000}s"
 
-  console.log 'initializing plugins'
-  plugins = createPlugins null, {require: require}
-
-  configuration =
+  pluginOpts =
     'voxel-engine':
       appendDocument: true
       exposeGlobal: true  # for debugging

# vim: set shiftwidth=2 tabstop=2 softtabstop=2 expandtab:

createPlugins = require 'voxel-plugins'

# plugins (loaded by voxel-plugins; listed here for browserify)
require 'voxel-engine'
require 'voxel-fuel'
require 'voxel-registry'
require 'voxel-carry'
require 'craftingrecipes'

    'voxel-plugins-ui': {}
    'kb-bindings-ui': {}

  fuel
    pluginOpts: pluginOpts
    require: require

main()
