Created
March 29, 2012 01:35
-
-
Save Rob-ot/2232305 to your computer and use it in GitHub Desktop.
Template View for Backbone + AMD
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
// use this as a starting point when adding a view | |
define([ | |
'text!views/-------.html', | |
'views/View' | |
], | |
function ( | |
template, | |
View | |
) { | |
'use strict' | |
return View.extend({ | |
template: template, | |
initialize: function () { | |
} | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment