remove dead code from pages.js
This commit is contained in:
parent
4ffb59dce9
commit
8150abddbe
@ -49,11 +49,6 @@ define([
|
|||||||
h('p', Msg.main_footerText)
|
h('p', Msg.main_footerText)
|
||||||
])
|
])
|
||||||
], ''),
|
], ''),
|
||||||
/* footerCol(null, [
|
|
||||||
footLink('/about.html', 'about'),
|
|
||||||
footLink('/terms.html', 'terms'),
|
|
||||||
footLink('/privacy.html', 'privacy'),
|
|
||||||
], 'CryptPad'),*/
|
|
||||||
footerCol('footer_applications', [
|
footerCol('footer_applications', [
|
||||||
footLink('/drive/', 'main_drive'),
|
footLink('/drive/', 'main_drive'),
|
||||||
footLink('/pad/', 'main_richText'),
|
footLink('/pad/', 'main_richText'),
|
||||||
@ -690,45 +685,5 @@ define([
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
Pages['/drive/'] = Pages['/drive/index.html'] = function () {
|
|
||||||
return loadingScreen();
|
|
||||||
};
|
|
||||||
|
|
||||||
Pages['/file/'] = Pages['/file/index.html'] = function () {
|
|
||||||
return loadingScreen();
|
|
||||||
};
|
|
||||||
|
|
||||||
Pages['/contacts/'] = Pages['/contacts/index.html'] = function () {
|
|
||||||
return loadingScreen();
|
|
||||||
};
|
|
||||||
|
|
||||||
Pages['/pad/'] = Pages['/pad/index.html'] = function () {
|
|
||||||
return loadingScreen();
|
|
||||||
};
|
|
||||||
|
|
||||||
Pages['/code/'] = Pages['/code/index.html'] = function () {
|
|
||||||
return loadingScreen();
|
|
||||||
};
|
|
||||||
|
|
||||||
Pages['/slide/'] = Pages['/slide/index.html'] = function () {
|
|
||||||
return loadingScreen();
|
|
||||||
};
|
|
||||||
|
|
||||||
Pages['/invite/'] = Pages['/invite/index.html'] = function () {
|
|
||||||
return loadingScreen();
|
|
||||||
};
|
|
||||||
|
|
||||||
Pages['/settings/'] = Pages['/settings/index.html'] = function () {
|
|
||||||
return loadingScreen();
|
|
||||||
};
|
|
||||||
|
|
||||||
Pages['/profile/'] = Pages['/profile/index.html'] = function () {
|
|
||||||
return loadingScreen();
|
|
||||||
};
|
|
||||||
|
|
||||||
Pages['/todo/'] = Pages['/todo/index.html'] = function () {
|
|
||||||
return loadingScreen();
|
|
||||||
};
|
|
||||||
|
|
||||||
return Pages;
|
return Pages;
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,11 +1,10 @@
|
|||||||
define([
|
define([
|
||||||
'jquery',
|
'jquery',
|
||||||
'/common/hyperscript.js',
|
'/common/hyperscript.js',
|
||||||
'/common/cryptpad-common.js',
|
|
||||||
'/customize/pages.js',
|
'/customize/pages.js',
|
||||||
|
|
||||||
'less!/bower_components/components-font-awesome/css/font-awesome.min.css',
|
'less!/bower_components/components-font-awesome/css/font-awesome.min.css',
|
||||||
], function ($, h, Cryptpad, Pages) {
|
], function ($, h, Pages) {
|
||||||
$(function () {
|
$(function () {
|
||||||
var $body = $('body');
|
var $body = $('body');
|
||||||
var isMainApp = function () {
|
var isMainApp = function () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user