-
-if not fbpspec
-  # built with component.io
-  fbpspec = require 'fbp-spec/src/index'
+fbpspec = require 'fbp-spec/src/index' if not fbpspec
 widgets = fbpspec.ui.widgets
 
 # DOM helpers

        runner.disconnect (err) ->
          console.log 'disconnected'

main()

    console.log 'rendered'
  onTestsChanged()

  rt =
    "protocol": "websocket",
    "address": "ws://localhost:3569",
    "command": "python2 protocol-examples/python/runtime.py" # need to start manually!

  runTests = () ->
    runner = new fbpspec.runner.Runner rt
    runner.connect (err) ->
      console.log 'connected', err
