mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-31 15:28:19 -04:00
Refactor view.
This commit is contained in:
parent
0be36ea9e8
commit
d5221c0d17
16 changed files with 421 additions and 161 deletions
9
src/_h5ai/client/js/inc/view/mainrow.js
Normal file
9
src/_h5ai/client/js/inc/view/mainrow.js
Normal 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
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue