##// END OF EJS Templates
templates: make sure we don't call register routes if this function is not defined....
marcink -
r1889:649e3ef9 default
parent child Browse files
Show More
@@ -1,26 +1,29 b''
1 1 // # Copyright (C) 2010-2017 RhodeCode GmbH
2 2 // #
3 3 // # This program is free software: you can redistribute it and/or modify
4 4 // # it under the terms of the GNU Affero General Public License, version 3
5 5 // # (only), as published by the Free Software Foundation.
6 6 // #
7 7 // # This program is distributed in the hope that it will be useful,
8 8 // # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 9 // # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 10 // # GNU General Public License for more details.
11 11 // #
12 12 // # You should have received a copy of the GNU Affero General Public License
13 13 // # along with this program. If not, see <http://www.gnu.org/licenses/>.
14 14 // #
15 15 // # This program is dual-licensed. If you wish to learn more about the
16 16 // # RhodeCode Enterprise Edition, including its added features, Support services,
17 17 // # and proprietary license terms, please see https://rhodecode.com/licenses/
18 18
19 19
20 20 /*
21 21 * Deferred functions that must run before any rhodecode javascript go here
22 22 */
23 23
24 registerRCRoutes();
24
25 if (typeof window['registerRCRoutes'] != 'undefined') {
26 registerRCRoutes();
27 }
25 28
26 29 // TODO: move i18n here
General Comments 0
You need to be logged in to leave comments. Login now