Skip to content

Commit 4171181

Browse files
committed
fix: Remove commented-out code and unused function in src/index.js
- Remove commented-out code and unused function `getData` - Clean up code by removing unnecessary lines
1 parent 1a9959b commit 4171181

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/index.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -566,17 +566,6 @@ function getRenderValue(node, data, key, renderAs) {
566566
return value
567567
}
568568

569-
// function getData({ element, selector, template, data, key, index }) {
570-
// console.log('render.getData returns json data rendered')
571-
// }
572-
573-
// function createElement(data) {
574-
// // check all render elements to see if data pertains to them
575-
// // check filters to see if its index is with in the current renderd data length
576-
// render({ source, selector, element, data, key, index, update, remove })
577-
// }
578-
579-
580569
function renderKey(element, params) {
581570
// TODO: custom render-keys
582571
const form = element.closest("form") || document;

0 commit comments

Comments
 (0)