Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<div>
<button id="swaprows" type="button">Swap Rows</button>
</div>
{rows}<table>
<tbody></tbody>
</table>
<span aria-hidden="true"></span>
);
}
}
mount(document.getElementById('main'), );
function update() {
mount(document.body, buildTree(sortUsers()), function() {
updateUsersStates();
setTimeout(update, 3000);
});
}
setTimeout(() => {
mount(root, ['b', 'a']);
}, 500)
this._errorTimer = null;
this.setState({ error });
}, ERROR_TIMEOUT);
}
}
function transformCode(code) {
return Babel.transform(
code,
{
presets : ['es2015-loose'],
plugins : [['vidom-jsx', { autoRequire : false }]]
}).code;
}
mount(document.body, );