Remove jquery, clusterize from bundle
This commit is contained in:
parent
0db68e46d5
commit
b164e108f6
@ -22,6 +22,7 @@
|
||||
|
||||
</section>
|
||||
<script src="./node_modules/jquery/dist/jquery.js"></script>
|
||||
<script src="./node_modules/clusterize.js/clusterize.js"></script>
|
||||
<script src="./lib/ReGrid.js"></script>
|
||||
<script>
|
||||
$(() => {
|
||||
|
||||
10641
lib/ReGrid.js
10641
lib/ReGrid.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -1,3 +1,4 @@
|
||||
/* globals $, Clusterize */
|
||||
import {
|
||||
getHeaderHTML,
|
||||
getBodyHTML,
|
||||
@ -8,8 +9,8 @@ import {
|
||||
prepareRows,
|
||||
getDefault
|
||||
} from './utils.js';
|
||||
import $ from 'jQuery';
|
||||
import Clusterize from 'clusterize.js';
|
||||
// import $ from 'jQuery';
|
||||
// import Clusterize from 'clusterize.js';
|
||||
|
||||
import './style.scss';
|
||||
|
||||
@ -117,7 +118,7 @@ export default class ReGrid {
|
||||
scrollElem: this.bodyScrollable.get(0),
|
||||
contentElem: this.bodyScrollable.find('tbody').get(0)
|
||||
});
|
||||
|
||||
this.log('dataAppended', this.pageLength);
|
||||
this.appendRemainingData();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user