refactor: migrate legacy wire namespace to wrn
This commit is contained in:
@@ -437,11 +437,11 @@ export const NAV_RUNTIME = String.raw`
|
||||
|
||||
try {
|
||||
if (
|
||||
window.__wireValidate &&
|
||||
typeof window.__wireValidate.init ===
|
||||
window.__wrnValidate &&
|
||||
typeof window.__wrnValidate.init ===
|
||||
"function"
|
||||
) {
|
||||
window.__wireValidate.init(document);
|
||||
window.__wrnValidate.init(document);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(
|
||||
@@ -452,11 +452,11 @@ export const NAV_RUNTIME = String.raw`
|
||||
|
||||
try {
|
||||
if (
|
||||
window.wireTheme &&
|
||||
typeof window.wireTheme.bind ===
|
||||
window.wrnTheme &&
|
||||
typeof window.wrnTheme.bind ===
|
||||
"function"
|
||||
) {
|
||||
window.wireTheme.bind(document);
|
||||
window.wrnTheme.bind(document);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(
|
||||
|
||||
Reference in New Issue
Block a user