RubaXa
01a2991548
Merge branch 'dev' of github.com:RubaXa/Sortable into dev
9 years ago
RubaXa
ba2b0863d1
#732 : fixed 'preapreGroup'
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
da5a74b054
Merge pull request #727 from calexicoz/dev
...
Allow event functions to be defined as functions AND strings.
9 years ago
Julien
764b060cbd
Allow event functions to be defined as functions AND strings.
...
The current behavior (in `master`) is to define the handling functions for events as strings. Default for `onSort` for example is `handleSort`. Commit 8cef762d11
changed this behavior forcing handling functions to be defined as functions in the options. This breaks all existing code, resulting in a no-op even with the default options (which still define the default handlers as strings).
This commit restores previous behavior AND allows you to define your handlers as functions directly, if you’re so inclined.
9 years ago
RubaXa
7f3ee38b16
#718 : * fixed context in 'add' & 'sort' events
9 years ago
Lebedev Konstantin
2ffa00f623
Merge pull request #725 from auxcoder/dev
...
#666 Return DOM information of element in env object
9 years ago
Pavel Duran
59b6818b4c
#666 Return DOM information of element in env object
9 years ago
Lebedev Konstantin
ff3deb0433
Merge pull request #720 from livelazily/fix-un-watch
...
`scope` does not has "off" function
9 years ago
livelazily
dc2e736e57
`scope` does not has "off" function
9 years ago
livelazily
5617c507cf
fix ng-repeat with other element in the same parent element
9 years ago
RubaXa
a1790fdf23
#677 : + pull/put as functions
9 years ago
RubaXa
9eb3ef5b2d
* on ->
9 years ago
RubaXa
b5780dce35
* UPD
9 years ago
RubaXa
f3af805d75
#671 : + 'clone' support jQuery/Zepto/Polymer.dom
9 years ago
Lebedev Konstantin
1be46d0663
Update CONTRIBUTING.md
9 years ago
RubaXa
31e6f0fab6
#701 : fixed oldIndex & selector == '>*'
9 years ago
RubaXa
2e82d42aec
#670 : * code style
9 years ago
RubaXa
d57aee37a5
Merge branch 'master' into dev
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
RubaXa
3a83c35d02
Merge branch 'srosengren-dev' into dev
9 years ago
RubaXa
4ee9735a60
* resolve conflicts
9 years ago
RubaXa
e53002892f
#664 : .on('') -> scope.on('')
9 years ago
RubaXa
2ec12f7ecd
#671 : + 'clone' event
9 years ago
RubaXa
92a7deae2a
#687 : fixed 'parentEl'
9 years ago
Lebedev Konstantin
179006c23e
Merge pull request #689 from WorktileTech/drag-fix
...
fix bug about evt.oldIndex when set options.group
9 years ago
why520crazy
f4f7051750
meet style
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
RubaXa
15e82b5ae8
* merge: dev + master
9 years ago
RubaXa
fc69adad94
+ merge master
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
Lebedev Konstantin
18dd1bd4f5
Merge pull request #662 from J-Zeitler/dev
...
fix a bug causing wrapped float/flex elements to flicker when sorted
9 years ago
Jonas Zeitler
4094911e8f
revert index.html change + fix styling errors
9 years ago
Jonas Zeitler
5c426a87de
fix a bug causing wrapped float/flex elements to flicker when sorted
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
Sebastian Rosengren
c3d724d8fb
Knockout - Fixes #623 #585 #557
9 years ago
Sebastian Rosengren
4b9fc79dd9
Added knockout-sortable example/test
9 years ago
Sebastian Rosengren
01f1e47cbd
Merge branch 'master' into dev
...
Conflicts:
README.md
Sortable.js
Sortable.min.js
component.json
9 years ago
Lebedev Konstantin
a849935b43
Merge pull request #650 from SebastianTroc/dev
...
Fix for callbacks invocation
9 years ago
Sebastian Troć
8cef762d11
Fix for callbacks invocation
...
Tweaked callbacks overwriting and preventing to trying of calling
strings
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
RubaXa
d359188d65
#590 : * fallbackTolerance
9 years ago
Lebedev Konstantin
9784d7b44a
Merge pull request #590 from sp-kilobug/spk-patch7
...
"distance" option
9 years ago
Lebedev Konstantin
338400eb6a
Merge pull request #635 from cauburtin/patch-4
...
few errors thrown by react0.14
9 years ago
Lebedev Konstantin
7c8523713e
Merge pull request #640 from davewood/master
...
add Sortable as dependency for knockout-sortable
9 years ago