function checkHtml(el) { if (!is.element(el) && !(el instanceof Document) && !(el instanceof Window)) { throw 'Invalid Element ' + el; } }
constructor(option) { Util.assignWithout(this, ['run', 'stop'], option); if (!is.element(this.el)) { throw 'Invalid Element'; } }
if (!is.element(el)) { throw 'Invalid Element';
function checkEl(el) { if (!is.element(el)) { throw 'Invalid Element ' + el; } }