view mod_conversejs/template.js @ 3800:cfa00eea896f

mod_rest: Add some text about the payload format
author Kim Alvefur <zash@zash.se>
date Mon, 30 Dec 2019 07:21:46 +0100
parents 1921ae4449b8
children
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);
}