diff --git a/src/stdlib/template.coffee b/src/stdlib/template.coffee index 1d6cda611..e2587e606 100644 --- a/src/stdlib/template.coffee +++ b/src/stdlib/template.coffee @@ -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}]"