Update jquery (#532)

* vbump jquery to 3.1.0 (supported by slickgrid)

* updated typings

* update libraries to work
This commit is contained in:
Anthony Dresser
2018-01-23 12:44:06 -08:00
committed by GitHub
parent 0c14c3cc7f
commit e432884e25
5 changed files with 4476 additions and 3617 deletions

6
npm-shrinkwrap.json generated
View File

@@ -391,9 +391,9 @@
"resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz" "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz"
}, },
"jquery": { "jquery": {
"version": "2.2.4", "version": "3.1.0",
"from": "jquery@>=2.2.0 <3.0.0", "from": "jquery@3.1.0",
"resolved": "https://registry.npmjs.org/jquery/-/jquery-2.2.4.tgz" "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.1.0.tgz"
}, },
"jquery-ui": { "jquery-ui": {
"version": "1.12.1", "version": "1.12.1",

View File

@@ -49,7 +49,7 @@
"http-proxy-agent": "0.2.7", "http-proxy-agent": "0.2.7",
"https-proxy-agent": "0.3.6", "https-proxy-agent": "0.3.6",
"iconv-lite": "0.4.15", "iconv-lite": "0.4.15",
"jquery": "^2.2.0", "jquery": "3.1.0",
"make-error": "^1.1.1", "make-error": "^1.1.1",
"jschardet": "^1.5.1", "jschardet": "^1.5.1",
"keytar": "^4.0.5", "keytar": "^4.0.5",

View File

@@ -32,7 +32,7 @@ export class AutoColumnSize<T> implements Slick.Plugin<T> {
this._$container.off(); this._$container.off();
} }
private reSizeColumn(e: Event) { private reSizeColumn(e: JQuery.Event<HTMLElement, string>) {
let headerEl = $(e.currentTarget).closest('.slick-header-column'); let headerEl = $(e.currentTarget).closest('.slick-header-column');
let columnDef = headerEl.data('column'); let columnDef = headerEl.data('column');

8081
src/typings/jQuery.d.ts vendored

File diff suppressed because it is too large Load Diff

View File

@@ -12,7 +12,7 @@
<!-- // {{SQL CARBON EDIT}} --> <!-- // {{SQL CARBON EDIT}} -->
<script src="../../../../sql/parts/grid/load/loadJquery.js"></script> <script src="../../../../sql/parts/grid/load/loadJquery.js"></script>
<script src="../../../../../node_modules/slickgrid/lib/jquery.event.drag-2.2.js"></script> <script src="../../../../../node_modules/slickgrid/lib/jquery.event.drag-2.3.0.js"></script>
<script src="../../../../../node_modules/slickgrid/lib/jquery-ui-1.9.2.js"></script> <script src="../../../../../node_modules/slickgrid/lib/jquery-ui-1.9.2.js"></script>
<!-- Startup via index.js --> <!-- Startup via index.js -->
<script src="index.js"></script> <script src="index.js"></script>