1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-12-01 21:52:17 -05:00
kaiwa/clientapp/pages/wrapper.js

18 lines
355 B
JavaScript
Raw Normal View History

2013-08-29 23:38:28 -04:00
"use strict";
var BasePage = require('pages/base');
var templates = require('templates');
2013-06-03 18:51:30 -04:00
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;
}
});