From 6ca195271f0885ce7785e7d20e3a6c9da3ac28d8 Mon Sep 17 00:00:00 2001 From: Pavel Reznikov Date: Sat, 20 Aug 2016 12:48:02 -0700 Subject: [PATCH] migrating to 0.2.7 notes --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 967be65..8f5c986 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ Join gridstack.js on Slack: https://gridstackjs.troolee.com - [Requirements](#requirements) - [Install](#install) - [Basic usage](#basic-usage) + - [Migrating to v0.2.7](#migrating-to-v027) - [Migrating to v0.2.5](#migrating-to-v025) - [API Documentation](#api-documentation) - [Questions and Answers](#questions-and-answers) @@ -129,6 +130,25 @@ $(function () { ``` +## Migrating to v0.2.7 + +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. + +To ensure gridstack continues to work, either include the additional `gridstack.jQueryUI.js` file into your HTML or use `gridstack.all.js`: + +```html + + +``` + +or + +```html + +``` + +We're working on implementing support for other drag'n'drop libraries through the new plugin system. + ## Migrating to v0.2.5 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).