kaiwa/clientapp/app/pages/wrapper.js

16 lines
340 B
JavaScript
Raw Normal View History

2013-06-03 18:51:30 -04:00
var BasePage = require('pages/base'),
templates = require('templates');
module.exports = BasePage.extend({
template: templates.pages.wrapper,
initialize: function (spec) {
this.url = spec.url;
},
render: function () {
this.basicRender();
this.$el.load(this.url);
return this;
}
});