Daniel Persson
babcc09e22
Small change to update the data instead of the polymer collection.
9 years ago
Daniel Persson
4d65727212
Small change to update the data instead of the polymer collection.
9 years ago
Lebedev Konstantin
c8c3f48b95
Merge pull request #843 from falkolab/patch-1
...
typo fix
9 years ago
Lebedev Konstantin
3957f60ae8
Merge pull request #854 from harrymt/patch-1
...
Missing comma on fallbackOnBody and fallbackClass
9 years ago
Lebedev Konstantin
d7680eb688
Merge pull request #862 from KadoBOT/patch-1
...
Fixed missing comma in React ES2015
9 years ago
Lebedev Konstantin
1923228c78
Merge pull request #880 from syuilo/master
...
Fix incorrect example code
9 years ago
古谷向日葵
cabde8c65a
Fix incorrect example code
9 years ago
Ricardo Ambrogi
019e687ccb
Fixed missing comma in React ES2015
9 years ago
Harry Mumford-Turner
abec27faa1
Adding missing comma on fallbackClass
...
Adding a comma on the following line will make the options valid javascript.
`fallbackClass: "sortable-fallback"` to `fallbackClass: "sortable-fallback",`
9 years ago
Harry Mumford-Turner
c3faf18108
Missing comma on ```fallbackOnBody```
9 years ago
Andrey Tkachenko
5d67a8894e
typo fix
9 years ago
Lebedev Konstantin
acef394c9a
Merge pull request #809 from piotrwitek/patch-1
...
Update README.md: Add Support React ES2015 / TypeScript syntax example
9 years ago
Piotr Witek
610527f029
Update README.md
...
Add Support React ES2015 / TypeScript syntax
As mixins are not supported in ES2015 / TypeScript syntax here is example of ES2015 ref based implementation.
Using refs is the preferred (by facebook) "escape hatch" to underlaying DOM nodes: [React: The ref Callback Attribute](https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute )
9 years ago
Lebedev Konstantin
f8a5ddb354
Merge pull request #801 from AndreasGalster/master
...
[Polymer component]Added method to re-initialize sortable
9 years ago
AndreasGalster
4745fb294e
Added methods to re-initialize and destroy sortable
...
Moved attached initialization of sortable into a method and run that method on attached.
Did the same for detached and created a destroy method.
9 years ago
AndreasGalster
b2d13e0210
Add method to re-initialize sortable
...
Currently it is not possible to re-initialize the sortable component after it's been destroyed. I've added a method and wrapped everything in the attached in there and instead I'm calling that method on attached.
9 years ago
Lebedev Konstantin
d28d019b71
Merge pull request #793 from ajjohnston/master
...
Fixed Polymer example.
9 years ago
Andrew Johnston
693485cdae
Fixed Polymer example.
9 years ago
RubaXa
1bf357899b
Merge branch 'master' of github.com:RubaXa/Sortable
9 years ago
RubaXa
a3fbeb29d2
+ ISSUE_TEMPLATE
9 years ago
Lebedev Konstantin
58dd583db5
Merge pull request #778 from pra85/patch-2
...
Fix typos
9 years ago
Prayag Verma
f701b8a89c
Fix typos
...
`possiblity` → `possibility`
`definied` → `defined`
9 years ago
Lebedev Konstantin
fdb08aef7d
Merge pull request #758 from pra85/patch-1
...
Update license year range to 2016
9 years ago
Prayag Verma
adfc37c683
Update license year range to 2016
9 years ago
Lebedev Konstantin
6963281a2b
Merge pull request #737 from petemill/patch-1
...
knockout-sortable - prioritise global dependencies if available
9 years ago
Pete Miller
025fd97865
knockout-sortable - use global dependencies if available, then fallback to require / AMD
9 years ago
Lebedev Konstantin
ea407ce24b
Merge pull request #730 from dangreen/master
...
Throw error if call in node
9 years ago
Onoshko Dan
ef4314bfa7
Throw error if call in node
9 years ago
Lebedev Konstantin
1be46d0663
Update CONTRIBUTING.md
9 years ago
Lebedev Konstantin
0b0da56b7d
Merge pull request #670 from tori3/modify_destroy_func
...
Modified to initialize variables in _onDrop. so destory function does…
9 years ago
Lebedev Konstantin
f26d300c03
Merge pull request #684 from matikun86/master
...
Fix for Issue #580 [Angular] Javascript error when moving items between two lists very fast #683
9 years ago
mkun
e03656d860
Sometimes evt.from is different from evt.item.parentNode because the item has been moved already so using evt.item.nextSibling won't work when doing evt.from.insertBefore, because nextSibling is not a child of evt.from.
...
So in those cases we use evt.clone.nextSibling instead.
9 years ago
shimizu daisuke
7370f0a8cf
Modified to initialize variables in _onDrop. so destory function does not work well.
9 years ago
Lebedev Konstantin
6952f3b525
Merge pull request #607 from dlamotte/master
...
fix for sorting elements within a non-homogenus list of elements
9 years ago
Dan LaMotte
4facaff715
refactor _matches() out of _closest()
...
The _closest() method already defined a way to do what _matches() was
trying to accomplish. This pulls the functionality out of _closest() so
that it can be reused outside of _closest() but refactors _closest() to
use this new _matches() method.
9 years ago
Dan LaMotte
4c2bd1c287
fix for sorting elements within a non-homogenus list of elements
...
For instance, say you are sorting tbody's within a table element. There
can also exist tfoot and thead within the table element. The _index()
function assumes that the list of elements within the parent is
homogenus (ie: just li's below an ol/ul). This isnt the case when
sorting tbody under table. This is edge case until you want to group
tr's under a table and sort on those groupings.
9 years ago
Lebedev Konstantin
2fe3a25cd3
Merge pull request #645 from davewood/master
...
format comments
9 years ago
David Schmidt
f7bcbddaa3
format comments
9 years ago
Lebedev Konstantin
7c8523713e
Merge pull request #640 from davewood/master
...
add Sortable as dependency for knockout-sortable
9 years ago
Lebedev Konstantin
73f8569005
Merge pull request #643 from gutenye/fix-642
...
fix import polymer readme closes #642
9 years ago
Guten Ye
c17cb275de
fix import polymer readme closes #642
9 years ago
David Schmidt
425aafa8d1
fix commonJS and plain version deps
9 years ago
David Schmidt
b65d326d40
add Sortable as dependency for knockout-sortable
9 years ago
RubaXa
51337f7279
Merge branch 'master' of github.com:RubaXa/Sortable
9 years ago
RubaXa
4701b853fd
v1.4.2: - Polymer dependency (bower)
9 years ago
Lebedev Konstantin
223c9d2385
Merge pull request #611 from cebor/patch-1
...
Remove Polymer from bower dependencies
9 years ago
Felix Itzenplitz
9cf9cee983
Remove Polymer from bower dependencies
9 years ago
RubaXa
40a2f60545
v1.4.1: * React & ko & bower
9 years ago
RubaXa
6f61d145ce
* bump
9 years ago
Lebedev Konstantin
a531e51fd2
Merge pull request #605 from 4imble/master
...
Fix to knockout sorting when dragging item index 1 to 0.
9 years ago