Skip to content

Commit

Permalink
Merge branch 'el-cached' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mkelley33 committed Nov 8, 2012
2 parents a4f89d7 + 3898971 commit 714d15b
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/generators/backbone/router/templates/view.coffee
Expand Up @@ -4,5 +4,5 @@ class <%= view_namespace %>.<%= @action.camelize %>View extends Backbone.View
template: JST["<%= jst @action %>"]

render: ->
$(@el).html(@template())
@$el.html(@template())
return this
Expand Up @@ -17,7 +17,7 @@ class <%= view_namespace %>.EditView extends Backbone.View
)

render : ->
$(@el).html(@template(@model.toJSON() ))
@$el.html(@template(@model.toJSON() ))

this.$("form").backboneLink(@model)

Expand Down
Expand Up @@ -14,7 +14,7 @@ class <%= view_namespace %>.IndexView extends Backbone.View
@$("tbody").append(view.render().el)

render: =>
$(@el).html(@template(<%= plural_model_name %>: @options.<%= plural_model_name %>.toJSON() ))
@$el.html(@template(<%= plural_model_name %>: @options.<%= plural_model_name %>.toJSON() ))
@addAll()

return this
Expand Up @@ -15,5 +15,5 @@ class <%= view_namespace %>.<%= singular_name.camelize %>View extends Backbone.V
return false

render: ->
$(@el).html(@template(@model.toJSON() ))
@$el.html(@template(@model.toJSON() ))
return this
Expand Up @@ -30,7 +30,7 @@ class <%= view_namespace %>.NewView extends Backbone.View
)

render: ->
$(@el).html(@template(@model.toJSON() ))
@$el.html(@template(@model.toJSON() ))

this.$("form").backboneLink(@model)

Expand Down
Expand Up @@ -4,5 +4,5 @@ class <%= view_namespace %>.ShowView extends Backbone.View
template: JST["<%= jst 'show' %>"]

render: ->
$(@el).html(@template(@model.toJSON() ))
@$el.html(@template(@model.toJSON() ))
return this
Expand Up @@ -17,7 +17,7 @@ class Dummy.Views.Posts.EditView extends Backbone.View
)

render : ->
$(@el).html(@template(@model.toJSON() ))
@$el.html(@template(@model.toJSON() ))

this.$("form").backboneLink(@model)

Expand Down
Expand Up @@ -14,7 +14,7 @@ class Dummy.Views.Posts.IndexView extends Backbone.View
@$("tbody").append(view.render().el)

render: =>
$(@el).html(@template(posts: @options.posts.toJSON() ))
@$el.html(@template(posts: @options.posts.toJSON() ))
@addAll()

return this
Expand Up @@ -30,7 +30,7 @@ class Dummy.Views.Posts.NewView extends Backbone.View
)

render: ->
$(@el).html(@template(@model.toJSON() ))
@$el.html(@template(@model.toJSON() ))

this.$("form").backboneLink(@model)

Expand Down
Expand Up @@ -15,5 +15,5 @@ class Dummy.Views.Posts.PostView extends Backbone.View
return false

render: ->
$(@el).html(@template(@model.toJSON() ))
@$el.html(@template(@model.toJSON() ))
return this
Expand Up @@ -4,5 +4,5 @@ class Dummy.Views.Posts.ShowView extends Backbone.View
template: JST["backbone/templates/posts/show"]

render: ->
$(@el).html(@template(@model.toJSON() ))
@$el.html(@template(@model.toJSON() ))
return this

0 comments on commit 714d15b

Please sign in to comment.