lib/chester/templates/helper.coffee.erb in chester-0.3.1 vs lib/chester/templates/helper.coffee.erb in chester-0.4.0
- old
+ new
@@ -1,8 +1,6 @@
class <%= name %>
constructor: (name) ->
- @name: name
-
+ @name = name
# Insert your code here
-
-
+
Chester._('app').Helpers.add(new <%= name %>('<%= name %>'))
\ No newline at end of file