Browse Source

Merge branch 'master' into dev

pull/251/merge
RubaXa 10 years ago
parent
commit
522ed5a121
  1. 20
      README.md
  2. 4
      meteor/example/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>
```
--- ---

4
meteor/example/README.md

@ -17,7 +17,7 @@ run script:
### Windows ### Windows
git clone git@github.com:RubaXa/Sortable.git git clone https://github.com/RubaXa/Sortable.git
cd Sortable cd Sortable
git checkout dev git checkout dev
cd meteor\example cd meteor\example
@ -25,7 +25,7 @@ run script:
### Elsewhere ### Elsewhere
git clone git@github.com:RubaXa/Sortable.git git clone https://github.com/RubaXa/Sortable.git
cd Sortable cd Sortable
git checkout dev git checkout dev
meteor/example./run.sh meteor/example./run.sh

Loading…
Cancel
Save