Skip to content

Commit 84d6358

Browse files
authored
Fix JSBins
1 parent 113944e commit 84d6358

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ var el = document.getElementById('items');
7070
var sortable = Sortable.create(el);
7171
```
7272

73-
You can use any element for the list and its elements, not just `ul`/`li`. Here is an [example with `div`s](http://jsbin.com/qumuwe/edit?html,js,output).
73+
You can use any element for the list and its elements, not just `ul`/`li`. Here is an [example with `div`s](https://jsbin.com/visimub/edit?html,js,output).
7474

7575

7676
---
@@ -157,7 +157,7 @@ var sortable = new Sortable(el, {
157157

158158
// Event when you move an item in the list or between lists
159159
onMove: function (/**Event*/evt, /**Event*/originalEvent) {
160-
// Example: http://jsbin.com/tuyafe/1/edit?js,output
160+
// Example: https://jsbin.com/nawahef/edit?js,output
161161
evt.dragged; // dragged HTMLElement
162162
evt.draggedRect; // TextRectangle {left, top, right и bottom}
163163
evt.related; // HTMLElement on which have guided
@@ -189,9 +189,9 @@ You can also define whether lists can give away, give and keep a copy (`clone`),
189189

190190

191191
Demo:
192-
- http://jsbin.com/naduvo/edit?js,output
193-
- http://jsbin.com/rusuvot/edit?js,output — use of complex logic in the `pull` and` put`
194-
- http://jsbin.com/magogub/edit?js,output — use `revertClone: true`
192+
- https://jsbin.com/hijetos/edit?js,output
193+
- https://jsbin.com/nacoyah/edit?js,output — use of complex logic in the `pull` and` put`
194+
- https://jsbin.com/bifuyab/edit?js,output — use `revertClone: true`
195195

196196

197197
---
@@ -200,7 +200,7 @@ Demo:
200200
#### `sort` option
201201
Sorting inside list.
202202

203-
Demo: http://jsbin.com/videzob/edit?html,js,output
203+
Demo: https://jsbin.com/jayedig/edit?js,output
204204

205205

206206
---
@@ -209,7 +209,7 @@ Demo: http://jsbin.com/videzob/edit?html,js,output
209209
#### `delay` option
210210
Time in milliseconds to define when the sorting should start.
211211

212-
Demo: http://jsbin.com/xizeh/edit?html,js,output
212+
Demo: https://jsbin.com/zosiwah/edit?js,output
213213

214214

215215
---
@@ -232,7 +232,7 @@ Values between 3 to 5 are good.
232232
#### `disabled` options
233233
Disables the sortable if set to `true`.
234234

235-
Demo: http://jsbin.com/xiloqu/edit?html,js,output
235+
Demo: https://jsbin.com/sewokud/edit?js,output
236236

237237
```js
238238
var sortable = Sortable.create(list);
@@ -253,7 +253,7 @@ To make list items draggable, Sortable disables text selection by the user.
253253
That's not always desirable. To allow text selection, define a drag handler,
254254
which is an area of every list element that allows it to be dragged around.
255255

256-
Demo: http://jsbin.com/newize/edit?html,js,output
256+
Demo: https://jsbin.com/numakuh/edit?html,js,output
257257

258258
```js
259259
Sortable.create(el, {
@@ -306,7 +306,7 @@ Sortable.create(list, {
306306
#### `ghostClass` option
307307
Class name for the drop placeholder (default `sortable-ghost`).
308308

309-
Demo: http://jsbin.com/hunifu/4/edit?css,js,output
309+
Demo: https://jsbin.com/henuyiw/edit?css,js,output
310310

311311
```css
312312
.ghost {
@@ -327,7 +327,7 @@ Sortable.create(list, {
327327
#### `chosenClass` option
328328
Class name for the chosen item (default `sortable-chosen`).
329329

330-
Demo: http://jsbin.com/hunifu/3/edit?html,css,js,output
330+
Demo: https://jsbin.com/hoqufox/edit?css,js,output
331331

332332
```css
333333
.chosen {
@@ -353,7 +353,7 @@ This gives us the possibility to test the behaviour for older Browsers even in n
353353

354354
On top of that, the Fallback always generates a copy of that DOM Element and appends the class `fallbackClass` defined in the options. This behaviour controls the look of this 'dragged' Element.
355355

356-
Demo: http://jsbin.com/yacuqib/edit?html,css,js,output
356+
Demo: https://jsbin.com/sibiput/edit?html,css,js,output
357357

358358

359359
---
@@ -376,8 +376,8 @@ Dragging only starts if you move the pointer past a certain tolerance, so that y
376376
If set to `true`, the page (or sortable-area) scrolls when coming to an edge.
377377

378378
Demo:
379-
- `window`: http://jsbin.com/tutuzeh/edit?html,js,output
380-
- `overflow: hidden`: http://jsbin.com/kolisu/edit?html,js,output
379+
- `window`: https://jsbin.com/dosilir/edit?js,output
380+
- `overflow: hidden`: https://jsbin.com/xecihez/edit?html,js,output
381381

382382

383383
---
@@ -413,7 +413,7 @@ Demo: https://jsbin.com/kesewor/edit?html,js,output
413413

414414
---
415415

416-
### Event object ([demo](http://jsbin.com/xedusu/edit?js,output))
416+
### Event object ([demo](https://jsbin.com/fogujiv/edit?js,output))
417417

418418
- to:`HTMLElement` — list, in which moved element.
419419
- from:`HTMLElement` — previous list
@@ -515,7 +515,7 @@ Sortable.create(el, {
515515

516516
<a name="bs"></a>
517517
### Bootstrap
518-
Demo: http://jsbin.com/qumuwe/edit?html,js,output
518+
Demo: https://jsbin.com/visimub/edit?html,js,output
519519

520520
```html
521521
<!-- Latest compiled and minified CSS -->

0 commit comments

Comments
 (0)