resolve merge conflicts in template.js

This commit is contained in:
ansuz committed 2017-06-27 14:28:28 +02:00
commit 3a9b480e4e
2 files changed
+6 -1

No files matched your search

+4
View File
@@ -285,6 +285,10 @@ define([
return h('div#container');
};
Pages['/profile/'] = Pages['/profile/index.html'] = function () {
return h('div#container');
};
Pages['/register/'] = Pages['/register/index.html'] = function () {
return [h('div#main', [
h('div.mainOverlay'),
+2 -1
View File
@@ -136,6 +136,8 @@ $(function () {
if (/^\/settings\//.test(pathname)) {
require([ '/settings/main.js', ], function () {});
} else if (/^\/profile\//.test(pathname)) {
require([ '/profile/main.js'], function () {});
} else if (/^\/user\//.test(pathname)) {
require([ '/user/main.js'], function () {});
} else if (/^\/register\//.test(pathname)) {
@@ -149,6 +151,5 @@ $(function () {
require([ '/customize/main.js', ], function () {});
}
});
});
});