Refactor view.

This commit is contained in:
Lars Jung 2015-04-25 13:24:34 +02:00
parent 0be36ea9e8
commit d5221c0d17
16 changed files with 421 additions and 161 deletions

View file

@ -0,0 +1,9 @@
modulejs.define('view/mainrow', ['$', 'view/root'], function ($, root) {
var template = '<div id="main-row"/>';
var $el = $(template).appendTo(root.$el);
return {
$el: $el
};
});