Skip to content

Instantly share code, notes, and snippets.

@unamashana
Last active January 1, 2016 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unamashana/8091040 to your computer and use it in GitHub Desktop.
Save unamashana/8091040 to your computer and use it in GitHub Desktop.
SB.Views.Main = Backbone.View.extend(
initialize: ->
@setElement($("#wrapper"))
$(@el).html SB.Utils.renderTemplate("main/template")()
@setupRoutes()
@startApp()
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment