Proxy raw from template to builder.

This commit is contained in:
Danny Greg & Nathan Sobo
2012-01-19 16:49:42 -08:00
parent 5e41f82985
commit fe582d7cd7

View File

@@ -39,6 +39,9 @@ class Template
subview: (args...) ->
@builder.subview.apply(@builder, args)
raw: (text) ->
@builder.raw(text)
bindEvents: (view) ->
for eventName in this.constructor.events
selector = "[#{eventName}]"