Browse Source

#4: fixed _closest method

pull/10/head
RubaXa 11 years ago
parent
commit
402cfe6a41
  1. 4
      Sortable.js
  2. 4
      Sortable.min.js
  3. 2
      package.json

4
Sortable.js

@ -391,7 +391,7 @@
function _closest(el, selector, ctx){ function _closest(el, selector, ctx){
if( el && ctx ){ if( el ){
ctx = ctx || document; ctx = ctx || document;
selector = selector.split('.'); selector = selector.split('.');
@ -498,7 +498,7 @@
}; };
Sortable.version = '0.1.1'; Sortable.version = '0.1.2';
// Export // Export
return Sortable; return Sortable;

4
Sortable.min.js vendored

File diff suppressed because one or more lines are too long

2
package.json

@ -1,7 +1,7 @@
{ {
"name": "sortable", "name": "sortable",
"exportName": "Sortable", "exportName": "Sortable",
"version": "0.1.1", "version": "0.1.2",
"devDependencies": { "devDependencies": {
"grunt": "*", "grunt": "*",
"grunt-version": "*", "grunt-version": "*",

Loading…
Cancel
Save