Every line of 'javascript insertcell' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
107 function insertCell(cell, row) { 108 let x = 0; 109 while (x < row.length && row[x].x < cell.x) { 110 x++; 111 } 112 row.splice(x, 0, cell); 113 }
537 _insertCell(after) { 538 this._insertCommon(); 539 540 if (this.selectedTable && this.commonAncestorPath) { 541 for (var i = 0; i < this.commonAncestorPath.length; i += 1) { 542 if (['TD', 'TH'].includes(this.commonAncestorPath[i].tagName)) { 543 var cell = document.createElement(this.commonAncestorPath[i].tagName); 544 this.commonAncestorPath[i].parentNode.insertBefore(cell, after ? this.commonAncestorPath[i].nextSibling : this.commonAncestorPath[i]); 545 break; 546 } 547 } 548 } 549 }
526 function insert_cell_lists() { 527 "use strict"; 528 for (var i = 1; i <= 8; i++) { 529 loadSelectFromObj("sav-cellslot" + i, cellOpts); 530 } 531 }