 
     listenOnTextChange = (node, log) ->
         if node instanceof File.Element.Text
-            node.onTextChange log.log, log
+            node.onTextChange log.render, log
         else
             for child in node.children
                 listenOnTextChange child, log


utils = require 'src/utils'
assert = require 'src/assert'

module.exports = (File) -> class Log
    @__name__ = 'Log'

            console.log.apply console, log
        return

    clone: (original, file) ->
        node = original.node.getCopiedElement @node, file.node

