Remove jquery, clusterize from bundle

This commit is contained in:
Faris Ansari 2017-10-01 12:48:03 +05:30
parent 0db68e46d5
commit b164e108f6
4 changed files with 27 additions and 10624 deletions

View File

@ -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>
$(() => {

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -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();
}