Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Commit 8e285ac

Browse files
committed
v3.1.0 Acacia
1 parent e15f7c7 commit 8e285ac

10 files changed

+32
-26
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,8 @@ Run `npm install` to install dependencies and then `grunt` to build the project
403403

404404
## Release Names
405405

406+
* [3.1.0: Acacia](https://github.com/filamentgroup/tablesaw/releases/tag/v3.1.0)
407+
* [3.0.6: Wonderboom](https://github.com/filamentgroup/tablesaw/releases/tag/v3.0.6)
406408
* [3.0.3: Cucumbertree](https://github.com/filamentgroup/tablesaw/releases/tag/v3.0.3)
407409
* [3.0.2: Bald Cypress](https://github.com/filamentgroup/tablesaw/releases/tag/v3.0.2)
408410
* [3.0.1: Cypress](https://github.com/filamentgroup/tablesaw/releases/tag/v3.0.1)

dist/stackonly/tablesaw.stackonly.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Tablesaw - v3.0.9 - 2018-12-07
1+
/*! Tablesaw - v3.1.0 - 2018-12-10
22
* https://github.com/filamentgroup/tablesaw
33
* Copyright (c) 2018 Filament Group; Licensed MIT */
44

dist/stackonly/tablesaw.stackonly.jquery.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Tablesaw - v3.0.9 - 2018-12-07
1+
/*! Tablesaw - v3.1.0 - 2018-12-10
22
* https://github.com/filamentgroup/tablesaw
33
* Copyright (c) 2018 Filament Group; Licensed MIT */
44
(function (root, factory) {
@@ -303,20 +303,21 @@ if (Tablesaw.mustard) {
303303

304304
Table.prototype._findPrimaryHeadersForCell = function(cell) {
305305
var $headerRow = this._getPrimaryHeaderRow();
306-
var $headers = this._getPrimaryHeaderCells($headerRow);
307306
var headerRowIndex = this._getRowIndex($headerRow);
308307
var results = [];
309308

310309
for (var rowNumber = 0; rowNumber < this.headerMapping.length; rowNumber++) {
311310
if (rowNumber === headerRowIndex) {
312311
continue;
313312
}
313+
314314
for (var colNumber = 0; colNumber < this.headerMapping[rowNumber].length; colNumber++) {
315315
if (this.headerMapping[rowNumber][colNumber] === cell) {
316-
results.push($headers[colNumber]);
316+
results.push(this.headerMapping[headerRowIndex][colNumber]);
317317
}
318318
}
319319
}
320+
320321
return results;
321322
};
322323

@@ -635,7 +636,7 @@ if (Tablesaw.mustard) {
635636
this.$table.removeClass(classes.stackTable);
636637
this.$table.find("." + classes.cellLabels).remove();
637638
this.$table.find("." + classes.cellContentLabels).each(function() {
638-
$(this).replaceWith(this.childNodes);
639+
$(this).replaceWith($(this.childNodes));
639640
});
640641
};
641642

dist/stackonly/tablesaw.stackonly.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Tablesaw - v3.0.9 - 2018-12-07
1+
/*! Tablesaw - v3.1.0 - 2018-12-10
22
* https://github.com/filamentgroup/tablesaw
33
* Copyright (c) 2018 Filament Group; Licensed MIT */
44
/*! Shoestring - v2.0.0 - 2017-02-14
@@ -2004,20 +2004,21 @@ if (Tablesaw.mustard) {
20042004

20052005
Table.prototype._findPrimaryHeadersForCell = function(cell) {
20062006
var $headerRow = this._getPrimaryHeaderRow();
2007-
var $headers = this._getPrimaryHeaderCells($headerRow);
20082007
var headerRowIndex = this._getRowIndex($headerRow);
20092008
var results = [];
20102009

20112010
for (var rowNumber = 0; rowNumber < this.headerMapping.length; rowNumber++) {
20122011
if (rowNumber === headerRowIndex) {
20132012
continue;
20142013
}
2014+
20152015
for (var colNumber = 0; colNumber < this.headerMapping[rowNumber].length; colNumber++) {
20162016
if (this.headerMapping[rowNumber][colNumber] === cell) {
2017-
results.push($headers[colNumber]);
2017+
results.push(this.headerMapping[headerRowIndex][colNumber]);
20182018
}
20192019
}
20202020
}
2021+
20212022
return results;
20222023
};
20232024

@@ -2336,7 +2337,7 @@ if (Tablesaw.mustard) {
23362337
this.$table.removeClass(classes.stackTable);
23372338
this.$table.find("." + classes.cellLabels).remove();
23382339
this.$table.find("." + classes.cellContentLabels).each(function() {
2339-
$(this).replaceWith(this.childNodes);
2340+
$(this).replaceWith($(this.childNodes));
23402341
});
23412342
};
23422343

dist/stackonly/tablesaw.stackonly.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/*! Tablesaw - v3.0.9 - 2018-12-07
1+
/*! Tablesaw - v3.1.0 - 2018-12-10
22
* https://github.com/filamentgroup/tablesaw
33
* Copyright (c) 2018 Filament Group; Licensed MIT */
4-
/*! Tablesaw - v3.0.9 - 2018-12-07
4+
/*! Tablesaw - v3.1.0 - 2018-12-10
55
* https://github.com/filamentgroup/tablesaw
66
* Copyright (c) 2018 Filament Group; Licensed MIT */
77

dist/tablesaw-init.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Tablesaw - v3.0.9 - 2018-12-07
1+
/*! Tablesaw - v3.1.0 - 2018-12-10
22
* https://github.com/filamentgroup/tablesaw
33
* Copyright (c) 2018 Filament Group; Licensed MIT */
44
(function(win) {

dist/tablesaw.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Tablesaw - v3.0.9 - 2018-12-07
1+
/*! Tablesaw - v3.1.0 - 2018-12-10
22
* https://github.com/filamentgroup/tablesaw
33
* Copyright (c) 2018 Filament Group; Licensed MIT */
44

@@ -663,14 +663,14 @@ a.tablesaw-btn {
663663
}
664664
}
665665

666-
.tablesaw-columntoggle-popup .btn-group > label {
666+
.tablesaw-columntoggle-popup .tablesaw-btn-group > label {
667667
display: block;
668668
padding: .2em 0;
669669
white-space: nowrap;
670670
cursor: default;
671671
}
672672

673-
.tablesaw-columntoggle-popup .btn-group > label input {
673+
.tablesaw-columntoggle-popup .tablesaw-btn-group > label input {
674674
margin-right: .8em;
675675
}
676676

dist/tablesaw.jquery.js

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Tablesaw - v3.0.9 - 2018-12-07
1+
/*! Tablesaw - v3.1.0 - 2018-12-10
22
* https://github.com/filamentgroup/tablesaw
33
* Copyright (c) 2018 Filament Group; Licensed MIT */
44
(function (root, factory) {
@@ -303,20 +303,21 @@ if (Tablesaw.mustard) {
303303

304304
Table.prototype._findPrimaryHeadersForCell = function(cell) {
305305
var $headerRow = this._getPrimaryHeaderRow();
306-
var $headers = this._getPrimaryHeaderCells($headerRow);
307306
var headerRowIndex = this._getRowIndex($headerRow);
308307
var results = [];
309308

310309
for (var rowNumber = 0; rowNumber < this.headerMapping.length; rowNumber++) {
311310
if (rowNumber === headerRowIndex) {
312311
continue;
313312
}
313+
314314
for (var colNumber = 0; colNumber < this.headerMapping[rowNumber].length; colNumber++) {
315315
if (this.headerMapping[rowNumber][colNumber] === cell) {
316-
results.push($headers[colNumber]);
316+
results.push(this.headerMapping[headerRowIndex][colNumber]);
317317
}
318318
}
319319
}
320+
320321
return results;
321322
};
322323

@@ -635,7 +636,7 @@ if (Tablesaw.mustard) {
635636
this.$table.removeClass(classes.stackTable);
636637
this.$table.find("." + classes.cellLabels).remove();
637638
this.$table.find("." + classes.cellContentLabels).each(function() {
638-
$(this).replaceWith(this.childNodes);
639+
$(this).replaceWith($(this.childNodes));
639640
});
640641
};
641642

@@ -839,7 +840,7 @@ if (Tablesaw.mustard) {
839840
"</span></a>"
840841
);
841842
$popup = $("<div class='" + this.classes.popup + "' id='" + id + "'></div>");
842-
$menu = $("<div class='btn-group'></div>");
843+
$menu = $("<div class='tablesaw-btn-group'></div>");
843844

844845
this.$popup = $popup;
845846

dist/tablesaw.js

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Tablesaw - v3.0.9 - 2018-12-07
1+
/*! Tablesaw - v3.1.0 - 2018-12-10
22
* https://github.com/filamentgroup/tablesaw
33
* Copyright (c) 2018 Filament Group; Licensed MIT */
44
/*! Shoestring - v2.0.0 - 2017-02-14
@@ -2004,20 +2004,21 @@ if (Tablesaw.mustard) {
20042004

20052005
Table.prototype._findPrimaryHeadersForCell = function(cell) {
20062006
var $headerRow = this._getPrimaryHeaderRow();
2007-
var $headers = this._getPrimaryHeaderCells($headerRow);
20082007
var headerRowIndex = this._getRowIndex($headerRow);
20092008
var results = [];
20102009

20112010
for (var rowNumber = 0; rowNumber < this.headerMapping.length; rowNumber++) {
20122011
if (rowNumber === headerRowIndex) {
20132012
continue;
20142013
}
2014+
20152015
for (var colNumber = 0; colNumber < this.headerMapping[rowNumber].length; colNumber++) {
20162016
if (this.headerMapping[rowNumber][colNumber] === cell) {
2017-
results.push($headers[colNumber]);
2017+
results.push(this.headerMapping[headerRowIndex][colNumber]);
20182018
}
20192019
}
20202020
}
2021+
20212022
return results;
20222023
};
20232024

@@ -2336,7 +2337,7 @@ if (Tablesaw.mustard) {
23362337
this.$table.removeClass(classes.stackTable);
23372338
this.$table.find("." + classes.cellLabels).remove();
23382339
this.$table.find("." + classes.cellContentLabels).each(function() {
2339-
$(this).replaceWith(this.childNodes);
2340+
$(this).replaceWith($(this.childNodes));
23402341
});
23412342
};
23422343

@@ -2540,7 +2541,7 @@ if (Tablesaw.mustard) {
25402541
"</span></a>"
25412542
);
25422543
$popup = $("<div class='" + this.classes.popup + "' id='" + id + "'></div>");
2543-
$menu = $("<div class='btn-group'></div>");
2544+
$menu = $("<div class='tablesaw-btn-group'></div>");
25442545

25452546
this.$popup = $popup;
25462547

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "tablesaw",
33
"title": "Tablesaw",
44
"description": "A set of plugins for responsive tables.",
5-
"version": "3.0.9",
5+
"version": "3.1.0",
66
"homepage": "https://github.com/filamentgroup/tablesaw",
77
"author": {
88
"name": "Zach Leatherman",

0 commit comments

Comments
 (0)