Skip to content

Instantly share code, notes, and snippets.

@unamashana
Created December 12, 2013 09:02
Show Gist options
  • Save unamashana/7925082 to your computer and use it in GitHub Desktop.
Save unamashana/7925082 to your computer and use it in GitHub Desktop.
SB.Views.Ticket = Backbone.View.extend(
initialize: ->
@model = @options.model
render: ->
$(@el).html SB.Utils.renderTemplate('tickets/template')(@model.toJSON())
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment