Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var newInstanceButtonDiv = function () {
return UI.authn.newAppInstance(dom,
{ noun: 'meeting',
appPathSegment: appPathSegment},
initializeNewInstanceInWorkspace)
} // newInstanceButtonDiv
document.addEventListener('DOMContentLoaded', function () {
var UI = require('mashlib')
var appPathSegment = 'meetulator.timbl.com'
var inputStyle = 'background-color: #eef; padding: 0.5em; border: .5em solid white; font-size: 150%; text-align: center;' // ;
var dom = document
var div = document.getElementById('FormTarget')
UI.authn.checkUser() // kick off async operation
// ////////////////////////////// Reproduction: spawn a new instance
//
// Viral growth path: user of app decides to make another instance
//
var newInstanceButtonDiv = function () {
return UI.authn.newAppInstance(dom,
{ noun: 'meeting',
appPathSegment: appPathSegment},
initializeNewInstanceInWorkspace)
} // newInstanceButtonDiv
// /////////////////////// Create new document files for new instance of app
var initializeNewInstanceInWorkspace = function (ws, newBase) {