Skip to content

Commit

Permalink
chore: migrate more examples to vanilla JS with DOMContentLoaded
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Jul 8, 2023
1 parent 838dbbf commit b314768
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/example-0070-plugin-state.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ <h2>Options:</h2>
});
sortDataView(sortCols);
});
})();
});
</script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/example-row-detail-selection-and-move.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h3>Selected Titles:</h3>
dataView.onSelectedRowIdsChanged.subscribe(function (e, args) {
console.log('onSelectedRowIdsChanged', args)
});
})();
});
</script>
</body>

Expand Down
2 changes: 1 addition & 1 deletion examples/example15-auto-resize.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ <h2>My Grid Report</h2>
console.log('onGridAfterResize new dimensions', args.dimensions);
});
*/
})();
});
</script>
</body>

Expand Down
2 changes: 1 addition & 1 deletion examples/example16-row-detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ <h2>View Source:</h2>
dataView.setItems(data, 'num');
dataView.setFilter(filter);
dataView.endUpdate();
})();
});
</script>
</body>
</html>

0 comments on commit b314768

Please sign in to comment.