From 5365c773a2578614e42fe61fbf0d204510e366a5 Mon Sep 17 00:00:00 2001 From: La Reclame Date: Tue, 3 Dec 2013 09:36:14 +0100 Subject: [PATCH] Version 0.1.1 --- jquery.restable.min.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jquery.restable.min.js b/jquery.restable.min.js index e55d622..ac3af6d 100644 --- a/jquery.restable.min.js +++ b/jquery.restable.min.js @@ -1,2 +1,2 @@ -/*! ReStable v0.1 by Alessandro Benoit */ -(function(e,t,n){e.fn.ReStable=function(r){function o(t,n){var r=[],i={},o=e(t).find("tr").first().children("td"),u=0,a;if(s.rowHeaders){o=o.slice(1)}o.each(function(){r.push(e(this).text())});e(t).find("tr").slice(1).each(function(){var t=e(this);u++;e.each(r,function(e,n){e++;if(s.rowHeaders){if(!i[n]){i[n]={}}i[n][t.children("td:nth-child(1)").text()]=t.children("td:nth-child("+(e+1)+")").text()}else{if(!i[u]){i[u]={}}i[u][n]=t.children("td:nth-child("+e+")").text()}})});console.log(i);a=e("