       """
 
     if query.dev == "true" || query.perfGraphs == "true"
-      # Art.bindGlobally()
+
       DomConsole = require 'art-foundation/src/art/dev_tools/dom_console'
 
       DomConsole.enable()

{Promise} = Foundation = require 'art-foundation'
Engine = require 'art-engine'

document.onreadystatechange = ->
  if document.readyState == "interactive"
    Neptune.Art.Engine.FullScreenApp.init();

module.exports = appReadyPromise = new Promise

class Neptune.Art.Engine.FullScreenApp

  @init: ->
    query = Foundation.Browser.Parse.query()
    console.log """
      Art.Engine.FullScreenApp options:

      Engine.DevTools.GlobalEpochStats.enable() if query.perfGraphs == "true"

    console.log "Art.Engine.FullScreenApp: app ready"

  @init: (config = {})->
    document.onreadystatechange = =>
      if document.readyState == "interactive"
        @_domReady();
        appReadyPromise.resolve()

    module.exports = appReadyPromise = new Promise

    @writeDom config

    appReadyPromise

  @writeDom: ({title, styleSheets, scripts, fontFamilies})->

    title ||= "Art App"
    scripts ||= []
