forked from Shopify/draggable
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,19 +54,19 @@ or via CDN | |
|
||
```html | ||
<!-- Entire bundle --> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/draggable.bundle.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/draggable.bundle.js"></script> | ||
<!-- legacy bundle for older browsers (IE11) --> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/draggable.bundle.legacy.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/draggable.bundle.legacy.js"></script> | ||
<!-- Draggable only --> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/draggable.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/draggable.js"></script> | ||
<!-- Sortable only --> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/sortable.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/sortable.js"></script> | ||
<!-- Droppable only --> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/droppable.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/droppable.js"></script> | ||
<!-- Swappable only --> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/swappable.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/swappable.js"></script> | ||
<!-- Plugins only --> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/plugins.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/plugins.js"></script> | ||
``` | ||
|
||
## Documentation | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,11 @@ import Draggable from '@shopify/draggable/lib/draggable'; | |
``` | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/draggable.bundle.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/draggable.bundle.js"></script> | ||
``` | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/draggable.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/draggable.js"></script> | ||
``` | ||
|
||
### API | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,11 @@ import Droppable from '@shopify/draggable/lib/droppable'; | |
``` | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/draggable.bundle.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/draggable.bundle.js"></script> | ||
``` | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/droppable.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/droppable.js"></script> | ||
``` | ||
|
||
### API | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,11 +16,11 @@ import Collidable from '@shopify/draggable/lib/plugins/collidable'; | |
``` | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/plugins.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/plugins.js"></script> | ||
``` | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/plugins/collidable.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/plugins/collidable.js"></script> | ||
``` | ||
|
||
### Options | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,11 +16,11 @@ import Snappable from '@shopify/draggable/lib/plugins/snappable'; | |
``` | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/plugins.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/plugins.js"></script> | ||
``` | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/plugins/snappable.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/plugins/snappable.js"></script> | ||
``` | ||
|
||
### Options | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,11 +17,11 @@ import SwapAnimation from '@shopify/draggable/lib/plugins/swap-animation'; | |
``` | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/plugins.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/plugins.js"></script> | ||
``` | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/plugins/swap-animation.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/plugins/swap-animation.js"></script> | ||
``` | ||
|
||
### API | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,11 @@ import Sortable from '@shopify/draggable/lib/sortable'; | |
``` | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/draggable.bundle.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/draggable.bundle.js"></script> | ||
``` | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/sortable.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/sortable.js"></script> | ||
``` | ||
|
||
### API | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,11 @@ import Swappable from '@shopify/draggable/lib/swappable'; | |
``` | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/draggable.bundle.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/draggable.bundle.js"></script> | ||
``` | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].3/lib/swappable.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@shopify/[email protected].4/lib/swappable.js"></script> | ||
``` | ||
|
||
### API | ||
|