diff --git a/examples/axum_js_ssr/node_modules/@highlightjs/cdn-assets/es/highlight.min.js b/examples/axum_js_ssr/node_modules/@highlightjs/cdn-assets/es/highlight.min.js index 5b0416128e..f6554ac2ed 100644 --- a/examples/axum_js_ssr/node_modules/@highlightjs/cdn-assets/es/highlight.min.js +++ b/examples/axum_js_ssr/node_modules/@highlightjs/cdn-assets/es/highlight.min.js @@ -1227,4 +1227,4 @@ begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0 ;return c.pop(),c.push(i),r.contains=c,{name:"YAML",case_insensitive:!0, aliases:["yml"],contains:l}}});const Ke=te;for(const e of Object.keys(Pe)){ const n=e.replace("grmr_","").replace("_","-");Ke.registerLanguage(n,Pe[e])} -export{Ke as default}; \ No newline at end of file +export{Ke as defaultMod}; diff --git a/examples/axum_js_ssr/src/hljs.rs b/examples/axum_js_ssr/src/hljs.rs index af289cda51..69331abb39 100644 --- a/examples/axum_js_ssr/src/hljs.rs +++ b/examples/axum_js_ssr/src/hljs.rs @@ -13,13 +13,13 @@ mod csr { extern "C" { type HighlightOptions; - #[wasm_bindgen(catch, js_namespace = default, js_name = highlight)] + #[wasm_bindgen(catch, js_namespace = defaultMod, js_name = highlight)] fn highlight_lang( code: String, options: Object, ) -> Result; - #[wasm_bindgen(js_namespace = default, js_name = highlightAll)] + #[wasm_bindgen(js_namespace = defaultMod, js_name = highlightAll)] pub fn highlight_all(); }