Skip to content

Commit 0d8395f

Browse files
committed
v3.3.9 - fix the 'reset' method, closes clarketm#17
1 parent 691609f commit 0d8395f

12 files changed

Lines changed: 18 additions & 18 deletions

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tableexport.js",
3-
"version": "3.3.8",
3+
"version": "3.3.9",
44
"authors": [
55
"clarketm <travis.m.clarke@gmail.com>"
66
],

dist/css/tableexport.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* TableExport.js v3.3.8 (https://www.travismclarke.com)
2+
* TableExport.js v3.3.9 (https://www.travismclarke.com)
33
* Copyright 2016 Travis Clarke
44
* Licensed under the MIT license
55
*/

dist/css/tableexport.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/tableexport.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* TableExport.js v3.3.8 (https://www.travismclarke.com)
2+
* TableExport.js v3.3.9 (https://www.travismclarke.com)
33
* Copyright 2016 Travis Clarke
44
* Licensed under the MIT license
55
*/
@@ -309,7 +309,7 @@
309309
* Version.
310310
* @memberof TableExport.prototype
311311
*/
312-
version: "3.3.8",
312+
version: "3.3.9",
313313
/**
314314
* Default plugin options.
315315
* @memberof TableExport.prototype
@@ -519,7 +519,7 @@
519519
* @returns {TableExport} original TableExport instance
520520
*/
521521
reset: function () {
522-
return new TableExport(this.selectors, settings, true);
522+
return new TableExport(this.selectors, this.settings, true);
523523
},
524524
/**
525525
* Remove the instance (i.e. caption containing the export buttons)

dist/js/tableexport.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/typings/tableexport.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class TableExport {
2626
/**
2727
* selectors (e.g. tables) to apply the plugin to
2828
*/
29-
selectors: NodeList;
29+
selectors: NodeList|JQuery;
3030

3131
/**
3232
* Character set (character encoding) of the HTML.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tableexport",
3-
"version": "3.3.8",
3+
"version": "3.3.9",
44
"authors": [
55
"clarketm <travis.m.clarke@gmail.com>"
66
],

src/stable/css/tableexport.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* TableExport.js v3.3.8 (https://www.travismclarke.com)
2+
* TableExport.js v3.3.9 (https://www.travismclarke.com)
33
* Copyright 2016 Travis Clarke
44
* Licensed under the MIT license
55
*/

src/stable/css/tableexport.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/stable/js/tableexport.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* TableExport.js v3.3.8 (https://www.travismclarke.com)
2+
* TableExport.js v3.3.9 (https://www.travismclarke.com)
33
* Copyright 2016 Travis Clarke
44
* Licensed under the MIT license
55
*/
@@ -309,7 +309,7 @@
309309
* Version.
310310
* @memberof TableExport.prototype
311311
*/
312-
version: "3.3.8",
312+
version: "3.3.9",
313313
/**
314314
* Default plugin options.
315315
* @memberof TableExport.prototype
@@ -519,7 +519,7 @@
519519
* @returns {TableExport} original TableExport instance
520520
*/
521521
reset: function () {
522-
return new TableExport(this.selectors, settings, true);
522+
return new TableExport(this.selectors, this.settings, true);
523523
},
524524
/**
525525
* Remove the instance (i.e. caption containing the export buttons)

0 commit comments

Comments
 (0)