app/assets/javascripts/luca/concerns/dom_helpers.coffee in luca-0.9.8 vs app/assets/javascripts/luca/concerns/dom_helpers.coffee in luca-0.9.9

- old
+ new

@@ -44,13 +44,13 @@ @$el.html( Luca.template(template,variables) ) catch e console.log "Error in $template: #{ template } #{ @identifier?() ? @name || @cid }" $html: (content)-> - @$el.html( content ) + if content? then @$el.html(content) else @$el.html() $append: (content)-> - @$el.append( content ) + @$el.append(content) $attach: ()-> @$container().append( @el ) $bodyEl: ()-> \ No newline at end of file