In browsers, export more carefully
This commit is contained in:
parent
1ccc4377f3
commit
305289db57
3
route.js
3
route.js
|
@ -1320,5 +1320,6 @@ function Routing(exports) {
|
||||||
if (typeof module !== 'undefined' && module.exports) {
|
if (typeof module !== 'undefined' && module.exports) {
|
||||||
Routing(module.exports);
|
Routing(module.exports);
|
||||||
} else if (window) {
|
} else if (window) {
|
||||||
Routing(window);
|
window.route = {};
|
||||||
|
Routing(window.route);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue