diff --git a/README.md b/README.md index 1da6af786..6bacacb4d 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ Join us on Slack: https://gridstackjs.troolee.com - [Touch devices support](#touch-devices-support) - [Migrating to v0.6.x](#migrating-to-v06x) - [Migrating to v1.0.0](#migrating-to-v100) + - [jQuery Application](#jquery-application) - [Changes](#changes) - [The Team](#the-team) @@ -93,7 +94,7 @@ creating items dynamically... ``` @@ -132,7 +133,7 @@ You can easily extend or patch gridstack with code like this: ```js // extend gridstack with our own custom method GridStack.prototype.printCount = function() { - console.log('grid has ' + this.grid.nodes.length + ' items'); + console.log('grid has ' + this.engine.nodes.length + ' items'); }; var grid = GridStack.init(); @@ -322,9 +323,9 @@ Other vars/global changes Recommend looking at the [many samples](./demo) for more code examples. -**NOTE: jQuery Applications** +### jQuery Application -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. +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. Changes ===== @@ -335,4 +336,4 @@ View our change log [here](https://github.com/gridstack/gridstack.js/tree/develo The Team ======== -gridstack.js is currently maintained by [Dylan Weiss](https://github.com/radiolips) and [Alain Dumesny](https://github.com/adumesny), originally created by [Pavel Reznikov](https://github.com/troolee). We appreciate [all contributors](https://github.com/gridstack/gridstack.js/graphs/contributors) for help. +gridstack.js is currently maintained by [Alain Dumesny](https://github.com/adumesny) and [Dylan Weiss](https://github.com/radiolips), originally created by [Pavel Reznikov](https://github.com/troolee). We appreciate [all contributors](https://github.com/gridstack/gridstack.js/graphs/contributors) for help.