 
   set: (content...) ->
 
-    content = content.join ' '
+    content = stringify content
     @code.updatePartial hljs.highlight(@highlight, content).value
     @scrollToBottom()
 

    @code.updatePartial ''
    return this


  add: (content...) ->

    content = content.join ' '
    content = "[#{dateFormat Date.now(), 'HH:MM:ss'}] #{content}\n"
    @code.setPartial hljs.highlight(@highlight, content).value
    @scrollToBottom()

kd             = require 'kd'
hljs           = require 'highlight.js'
dateFormat     = require 'dateformat'

JView          = require 'app/jview'
curryIn        = require 'app/util/curryIn'
objectToString = require 'app/util/objectToString'


module.exports = class OutputView extends kd.ScrollView
