Created
May 13, 2014 17:30
-
-
Save weotch/477bb0546788aafe6199 to your computer and use it in GitHub Desktop.
Basic backbone template
This file contains hidden or 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('lodash') | |
, 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