Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed unneeded bindAll call, added usage notes for code generators.

  • Loading branch information...
commit d58866476b14ae701c8804da4f72f59e261b27fe 1 parent c916bdf
@bnolan authored
Showing with 5 additions and 3 deletions.
  1. +5 −0 src/main.coffee
  2. +0 −3  templates/views/view.coffee
View
5 src/main.coffee
@@ -31,6 +31,11 @@ Usage:
capt watch
- watch the current project and recompile as needed
+
+ Code generators:
+ * capt generate model post
+ * capt generate controller posts
+ * capt generate view posts show
'''
View
3  templates/views/view.coffee
@@ -2,10 +2,7 @@ class <%= view.capitalize() %>View extends Backbone.View
events:
initialize: ->
- _.bindAll(@, 'render')
render: ->
@<%= view.capitalize() %>View = <%= view.capitalize() %>View
-
-new <%= view.capitalize() %>View
Please sign in to comment.
Something went wrong with that request. Please try again.