Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function on_textarea_update() {
try {
var tokens = jju.tokenize($('textarea').val())
} catch(err) {
return console.log(err)
}
function tr(html) {
return '' + html + ''
}
function td(text) {
var node = $('')
node.text(text)
return node[0].outerHTML
}
$('#tokens .data').remove()