Browse Source

#269: + CDN

pull/259/merge
RubaXa 10 years ago
parent
commit
879282da6f
  1. 20
      README.md

20
README.md

@ -15,6 +15,7 @@ Demo: http://rubaxa.github.io/Sortable/
* Supports [Meteor](meteor/README.md) and [AngularJS](#ng) * Supports [Meteor](meteor/README.md) and [AngularJS](#ng)
* Supports any CSS library, e.g. [Bootstrap](#bs) * Supports any CSS library, e.g. [Bootstrap](#bs)
* Simple API * Simple API
* [CDN](#cdn)
* No jQuery (but there is [support](#jq)) * No jQuery (but there is [support](#jq))
@ -424,6 +425,25 @@ Link to the active instance.
* toggleClass(el`:HTMLElement`, name`:String`, state`:Boolean`) — add or remove one classes from each element * toggleClass(el`:HTMLElement`, name`:String`, state`:Boolean`) — add or remove one classes from each element
---
<a name="cdn"></a>
### CDN
```html
<!-- CDNJS :: Sortable (https://cdnjs.com/) -->
<script src="//cdnjs.cloudflare.com/ajax/libs/Sortable/1.0.1/Sortable.min.js"></script>
<!-- jsDelivr :: Sortable (http://www.jsdelivr.com/) -->
<script src="//cdn.jsdelivr.net/sortable/1.0.1/Sortable.min.js"></script>
<!-- jsDelivr :: Sortable :: Latest (http://www.jsdelivr.com/) -->
<script src="//cdn.jsdelivr.net/sortable/latest/Sortable.min.js"></script>
```
--- ---

Loading…
Cancel
Save