Skip to content

Commit 066eb35

Browse files
authored
Merge pull request #1309 from adumesny/typescript
TS: jquery v3.5.1
2 parents 70fb3ec + 857fa74 commit 066eb35

File tree

4 files changed

+758
-484
lines changed

4 files changed

+758
-484
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ Recommend looking at the [many samples](./demo) for more code examples.
326326
327327
### jQuery Application
328328
329-
We're working on implementing HTML5 drag'n'drop through the plugin system. Right now it is still jquery-ui based. Because of that we are still bundling `jquery` (3.4.1) + `jquery-ui` (1.12.1 minimal drag|drop|resize) internally in `gridstack.all.js`. IFF your app needs to bring it's own version instead, you should **instead** include `gridstack-poly.min.js` (optional IE support) + `gridstack.min.js` + `gridstack.jQueryUI.min.js` after you import your libs.
329+
We're working on implementing HTML5 drag'n'drop through the plugin system. Right now it is still jquery-ui based. Because of that we are still bundling `jquery` (3.5.1) + `jquery-ui` (1.12.1 minimal drag|drop|resize) internally in `gridstack.all.js`. IFF your app needs to bring it's own version instead, you should **instead** include `gridstack-poly.min.js` (optional IE support) + `gridstack.min.js` + `gridstack.jQueryUI.min.js` after you import your libs.
330330
331331
## Migrating to v2.0.0
332332

demo/experiment/test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<title>Drag demo</title>
99
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/cash/6.0.2/cash.min.js"></script>-->\
10-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
10+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
1111
<style>
1212
.item {
1313
width: 100px;

doc/CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Change log
3636

3737
## 2.0.0-dev (upcoming)
3838

39-
- re-write to native Typescript, removing all JQuery from main code and API (drag&drop plugin still using for now)
39+
- re-write to native Typescript, removing all JQuery from main code and API (drag&drop plugin still using for now which use latest v3.5.1)
4040
- add `getGridItems()` to return list of HTML grid items
4141
- add `{dragIn | dragInOptions}` grid attributes to handle external drag&drop items
4242
- add `save()` and `restore()` to serialize grids from JSON, saving all attributes (not just w,h,x,y) [1286](https://github.com/gridstack/gridstack.js/issues/1286)

0 commit comments

Comments
 (0)