New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: removed JQuery dependency from testCreator.js file #240
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for circuitverse ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@Arnabdaz @Prerna-0202 please review. |
the test creator page is not yet migrated to vue so this pr would be put on hold you can always use it as proof of work. |
Okay thanks! @Arnabdaz |
.find('td') | ||
.eq(inputCount + outputCount - 1) | ||
.after(sData) | ||
testBenchTable |
Check failure
Code scanning / ESLint
disallow the use of undeclared variables unless mentioned in `/*global */` comments Error
.querySelector('tr')[1] | ||
.querySelector('th') | ||
[inputCount + outputCount - 1].insertAdjacentHTML('afterend', sHead) | ||
testBenchTable |
Check failure
Code scanning / ESLint
disallow the use of undeclared variables unless mentioned in `/*global */` comments Error
.after(s) | ||
}) | ||
}) | ||
for (let group_i = 0; group_i < tables.length; group_i++) { |
Check failure
Code scanning / ESLint
disallow the use of undeclared variables unless mentioned in `/*global */` comments Error
}) | ||
}) | ||
for (let group_i = 0; group_i < tables.length; group_i++) { | ||
let currentTable = tables[group_i] |
Check failure
Code scanning / ESLint
disallow the use of undeclared variables unless mentioned in `/*global */` comments Error
.after(resultCellData) | ||
}) | ||
}) | ||
for (let group_i = 0; group_i < tables.length; group_i++) { |
Check failure
Code scanning / ESLint
disallow the use of undeclared variables unless mentioned in `/*global */` comments Error
|
||
outputCount-- | ||
$('#tb-outputs-head').attr('colspan', outputCount) | ||
outputHead.setAttribute('colspan', outputCount) |
Check failure
Code scanning / ESLint
disallow the use of undeclared variables unless mentioned in `/*global */` comments Error
.html() | ||
bitwidths[inp] = Number(bw) | ||
}) | ||
let secondRow = testBenchTable.querySelector('tr')[1] |
Check failure
Code scanning / ESLint
disallow the use of undeclared variables unless mentioned in `/*global */` comments Error
thElements.forEach(function (th, index) { | ||
let inp = th.textContent | ||
|
||
let tdElement = testBenchTable |
Check failure
Code scanning / ESLint
disallow the use of undeclared variables unless mentioned in `/*global */` comments Error
csvData += getGroupTitle(group_i) | ||
csvData += '\n' | ||
csvData += $(this).table2CSV() | ||
|
||
csvData += tableToCSV(table) |
Check failure
Code scanning / ESLint
disallow the use of undeclared variables unless mentioned in `/*global */` comments Error
} | ||
}) | ||
|
||
table.addEventListener('dragend', function (event) { |
Check failure
Code scanning / ESLint
disallow unused variables Error
Fixes #27
Removed JQuery dependency from testCreator.js file