summaryrefslogtreecommitdiffstats
path: root/examples/nodejs-mongodb-mongoose-restify/app/js/views/MainView.js
blob: e02368f1c8a38d586cad864d44a022fda5c32a14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
define([
  'jquery',
  'underscore',
  'backbone',
  'text!templates/mainTemplate.html' 
], function($, _, Backbone, mainTemplate){
  
  var MainView = Backbone.View.extend({
    el: '.container',
    initialize: function () {
      
    },
    render: function () {
			var that = this;
      $(this.el).html(mainTemplate);
      
		} 
	});
  return MainView;

});