Skip to content

Commit 57bfc7a

Browse files
committed
updates to zephr.js. Updated way that the base URL is handled.
1 parent c75cdce commit 57bfc7a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

zephyrtemplates/ZephyrCore.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,10 @@ export function setTheme(themeName) {
2828
}
2929
}
3030

31-
export function setBaseURL(url) {
32-
ZephyrJS.baseUrl = url.endsWith('/') ? url : url + '/';
33-
}
34-
3531
// Expose setTheme to the global scope
3632
window.Themes = Themes;
3733
window.setTheme = setTheme;
38-
window.setBaseURL = setBaseURL;
34+
window.setBaseURL = ZephyrJS.setBaseURL;
3935

4036
import BasicCard from "../zephyrtemplates/BasicCard.js";
4137
import LayeredCard from "../zephyrtemplates/LayeredCard.js";

0 commit comments

Comments
 (0)