Created
October 14, 2013 21:31
-
-
Save weotch/6982564 to your computer and use it in GitHub Desktop.
Backbone view template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(function (require) { | |
// Dependencies | |
var $ = require('jquery') | |
, _ = require('underscore') | |
, Backbone = require('backbone') | |
; | |
// Setup view | |
var View = {}; | |
View.initialize = function() { | |
_.bindAll(this); | |
// Cache | |
}; | |
// Return view class | |
return Backbone.View.extend(View); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment