You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixes#629
* tested samples and lowest we can use is 1.8 (1.7 gives us .append() missing)
* I don't see any harm is listing a wider range. Still using latest locally (smaller)
Copy file name to clipboardExpand all lines: README.md
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,6 @@ Join gridstack.js on Slack: https://gridstackjs.troolee.com
19
19
-[Demo and examples](#demo-and-examples)
20
20
-[Usage](#usage)
21
21
-[Requirements](#requirements)
22
-
-[Using gridstack.js with jQuery UI](#using-gridstackjs-with-jquery-ui)
23
22
-[Install](#install)
24
23
-[Basic usage](#basic-usage)
25
24
-[Migrating to v0.3.0](#migrating-to-v030)
@@ -46,13 +45,13 @@ Usage
46
45
47
46
## Requirements
48
47
49
-
*[jQuery](http://jquery.com) (>= 3.1.0)
48
+
*[jQuery](http://jquery.com) (>= 1.8)
50
49
*`Array.prototype.find`, and `Number.isNaN()` for IE and older browsers.
51
50
* Note: as of v0.5.4 We supply a separate `gridstack.poly.js` for that
52
51
(part of `gridstack.all.js`) or you can look at other pollyfills
53
52
([core.js](https://github.com/zloirock/core-js#ecmascript-6-array) and [mozilla.org](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find)).
* Note: as of v0.5.4 we include this subset as `jquery-ui.js` (and min.js) which is part of `gridstack.all.js`. If you wish to bring your own lib, include the individual gridstack parts instead of all.js
@@ -188,14 +187,14 @@ GridStack makes it very easy if you need [1-12] columns out of the box (default
188
187
$('.grid-stack').gridstack( {column:N} );
189
188
```
190
189
191
-
2)and change your HTML accordingly if **N < 12** (else custom CSS section next). Without this, things will not render/work correctly.
190
+
2)include `gridstack-extra.css`if **N < 12** (else custom CSS - see next). Without these, things will not render/work correctly.
Note `grid-stack-N` class was added, and extra CSS.
199
198
200
199
`gridstack-extra.css` (and `gridstack-extra.min.css`) defines CSS for grids with custom [1-12] columns. Anything more and you'll need to generate the SASS/CSS yourself (see next).
Copy file name to clipboardExpand all lines: doc/CHANGES.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,9 @@ Change log
26
26
## v0.5.3-dev (upcoming changes)
27
27
28
28
- add `gridstack.poly.js` for IE and older browsers, removed `core-js` lib from samples (<1k vs 85k), and all IE8 mentions ([#1061](https://github.com/gridstack/gridstack.js/pull/1061)).
29
-
- add `jquery-ui.js` (and min.js) as minimal subset we need (55k vs 248k), which is now part of `gridstack.all.js` - so just 1 include needed now.
29
+
- add `jquery-ui.js` (and min.js) as minimal subset we need (55k vs 248k), which is now part of `gridstack.all.js`. Include individual parts if you need your own lib instead of all.js
0 commit comments