 
         @addSymbolInternal symbol
 
-        embedChild = getEmbedderFn @, view, id, symbol
+        embedChild = getEmbedderFn this, view, id, symbol
 
         dataPathsAttr =
           if dataPaths.length
             " data-#{prefix}paths='#{dataPaths.join ' '}'"
-          else ""
+          else ''
 
         subViewNamesAttr =
           if subViewNames.length
             classNames.push "#{prefix}subview"
             " data-#{prefix}subviews='#{cleanSubviewNames(subViewNames.join ' ')}'"
-          else ""
+          else ''
 
         classAttr =
           if classNames.length then " class='#{classNames.join ' '}'"
-          else ""
+          else ''
 
         "<#{tagName}#{classAttr}#{dataPathsAttr}#{subViewNamesAttr} #{attrs} id='#{id}'></#{tagName}>"
 

    \}                  # closing } (ends symbol)
    ///g

  constructor:(@view, @template, @options={})->
    {@prefix, @params}   = @options
    @params            or= {}
    @symbols             = {}
    @symbolsByDataPath   = {}
    @symbolsBySubViewName= {}
    @dataPaths           = {}
    @subViewNames        = {}
    @prefix            or= ''
    @html                = @init()

  createId: @createId

  toString:-> @template

  init: do ->

    dataGetter = (prop)->
      data = @getData?()
      return data.getAt?(prop) or Pistachio.getAt data, prop  if data?

    getEmbedderFn =(pistachio, view, id, symbol)->
      (childView)->
        view.embedChild id, childView, symbol.isCustom
        unless symbol.isCustom
          symbol.id      = childView.id

          delete pistachio.symbols[id]
          pistachio.symbols[childView.id] = symbol

    init = ->
      { prefix, view, createId } = this
      @template.replace pistachios, (_, tagName, id, classes, attrs, expression) =>

        id = id?.split('#')[1]
        classNames = classes?.split('.').slice(1) or []
