view mod_jsxc/templates/template.js @ 5814:fa28fc2ee465

mod_pubsub_serverinfo: Remove unused variable declaration
author Matthew Wild <mwild1@gmail.com>
date Mon, 08 Jan 2024 15:52:22 +0000
parents 4bdfd83e091f
children
line wrap: on
line source

$(function() {
	let jsxc = new JSXC({
		loadConnectionOptions: function(username, password) {
			return Promise.resolve(%s);
		}
	});

	let formElement = $('#jsxc_login_form');
	let usernameElement = $('#jsxc_username');
	let passwordElement = $('#jsxc_password');

	jsxc.watchForm(formElement, usernameElement, passwordElement);
});