Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6ca1952

Browse files
committed
migrating to 0.2.7 notes
1 parent 46b857a commit 6ca1952

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Join gridstack.js on Slack: https://gridstackjs.troolee.com
2525
- [Requirements](#requirements)
2626
- [Install](#install)
2727
- [Basic usage](#basic-usage)
28+
- [Migrating to v0.2.7](#migrating-to-v027)
2829
- [Migrating to v0.2.5](#migrating-to-v025)
2930
- [API Documentation](#api-documentation)
3031
- [Questions and Answers](#questions-and-answers)
@@ -129,6 +130,25 @@ $(function () {
129130
</script>
130131
```
131132

133+
## Migrating to v0.2.7
134+
135+
As of v0.2.7, gridstack introduces a new plugin system. The drag'n'drop functionality has been modified to take advantage of this system. Because of this, and to avoid dependency on core code from jQuery UI, the plugin was functionality was moved to a separate file.
136+
137+
To ensure gridstack continues to work, either include the additional `gridstack.jQueryUI.js` file into your HTML or use `gridstack.all.js`:
138+
139+
```html
140+
<script src="gridstack.js"></script>
141+
<script src="gridstack.jQueryUI.js"></script>
142+
```
143+
144+
or
145+
146+
```html
147+
<script src="gridstack.all.js"></script>
148+
```
149+
150+
We're working on implementing support for other drag'n'drop libraries through the new plugin system.
151+
132152
## Migrating to v0.2.5
133153

134154
As of v0.2.5 all methods and parameters are in camel case to respect [JavaScript Style Guide and Coding Conventions](http://www.w3schools.com/js/js_conventions.asp).

0 commit comments

Comments
 (0)