Mercurial > prosody-modules
view mod_conversejs/templates/template.js @ 4168:7191d4638393
mod_rest: Add packaging metadata to include jsonmap lib and examples
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 05 Oct 2020 21:56:04 +0200 |
parents | 6b2a1c9ef6e2 |
children | 13b065432bf2 |
line wrap: on
line source
if(typeof converse == 'undefined') { var div = document.createElement("div"); var noscript = document.getElementsByTagName("noscript")[0]; div.innerHTML = noscript.innerText; document.body.appendChild(div); } else { converse.initialize(%s); }