Skip to content

Commit c2b73e0

Browse files
committed
docs(README): raise minimum angular version to 1.2 and add polyfill notice
1 parent ead6cc1 commit c2b73e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ This directive allows you to sort an array with drag & drop.
99

1010
- JQuery
1111
- JQueryUI 1.9+
12-
- AngularJS
12+
- AngularJS 1.2+
1313

1414
[Single minified cdn link](http://cdn.jsdelivr.net/g/jquery@1,[email protected]%28jquery.ui.core.min.js+jquery.ui.widget.min.js+jquery.ui.mouse.min.js+jquery.ui.sortable.min.js%29,[email protected],angular.ui-sortable) ~245kB and [example](http://codepen.io/thgreasi/pen/olDJi) with JQuery v1.x, required parts of JQueryUI v1.10, AngularJS v1.2 & latest angular-ui-sortable.
1515

1616
**Notes:**
1717
> * JQuery must be included before AngularJS.
1818
> * JQueryUI dependecies include [core](http://api.jqueryui.com/category/ui-core/), [widget](http://api.jqueryui.com/jQuery.widget/), [mouse](http://api.jqueryui.com/mouse/) & [sortable](http://api.jqueryui.com/sortable/). Creating a [custom build](http://jqueryui.com/download/#!version=1.10&components=1110000010000000000000000000000000) will [greatly reduce](https://github.com/angular-ui/ui-sortable/issues/154#issuecomment-40279430) the required file size. ([CDN](http://www.jsdelivr.com/) links for comparison: [full](http://cdn.jsdelivr.net/g/[email protected]) vs [minimal](http://cdn.jsdelivr.net/g/[email protected]%28jquery.ui.core.min.js+jquery.ui.widget.min.js+jquery.ui.mouse.min.js+jquery.ui.sortable.min.js%29))
19+
> * User of AngularJS pre v1.2 can use the [$watchcollection polyfill](https://github.com/thgreasi/ng-watchcollection-polyfill).
1920
2021
## Usage
2122

0 commit comments

Comments
 (0)