I have jquery.js, backbone.js ,underscore.js inlcuded in my html header (I can see these files from browser)
<script type='text/javascript'>
(function($){
var Student= Backbone.Model.extend({
initialize: function(){
console.log("studentis createrd");
}
});
var students= Backbone.Collection.extend({
model: Student
});
console.log(students.models);
})(jQuery);
</script>
I got this error message
UPDATE:html header
<script src="/static/js/jquery.js" type="text/javascript"> </script>
<script src="/static/js/backbone.js" type="text/javascript"></script>
<script src="/static/js/underscore.js" type="text/javascript"></script>