added $.tablesorter.version

This commit is contained in:
Rob Garrison 2012-03-18 09:02:49 -05:00
parent 02510860db
commit c043ffc520
3 changed files with 9 additions and 10 deletions

View File

@ -50,9 +50,7 @@ $(function(){
// update version number
var t = $('.current-version');
if (t.length) {
$.getJSON('../package.json', function(data) {
t.html(data.version || '2.1+');
});
t.html($.tablesorter.version);
}
});

View File

@ -1,6 +1,6 @@
/*
* TableSorter 2.1.3 - Client-side table sorting with ease!
* @requires jQuery v1.2.3
/*!
* TableSorter 2.1.4 - Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
* Copyright (c) 2007 Christian Bach
* Examples and docs at: http://tablesorter.com
@ -18,6 +18,8 @@
$.extend({
tablesorter: new function(){
this.version = "2.1.4";
var parsers = [], widgets = [], tbl;
this.defaults = {
cssHeader: "header",

File diff suppressed because one or more lines are too long