1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-08-08 14:56:35 +02:00

Clean code.

This commit is contained in:
Lars Jung
2015-04-29 23:11:45 +02:00
parent 8c34337136
commit 2479aa597b
3 changed files with 4 additions and 6 deletions

View File

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

View File

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

View File

@@ -1,7 +1,6 @@
modulejs.define('view/notification', ['$', 'view/root'], function ($, root) {
var template = '<div id="notification"/>';
var $el = $(template);
var $el = $('<div id="notification"/>');
function set(content) {