Skip to content
This repository has been archived by the owner on Jul 25, 2021. It is now read-only.

Commit

Permalink
v3.3.9 - fix the 'reset' method, closes #17
Browse files Browse the repository at this point in the history
  • Loading branch information
clarketm committed Jan 21, 2017
1 parent 691609f commit 0d8395f
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tableexport.js",
"version": "3.3.8",
"version": "3.3.9",
"authors": [
"clarketm <[email protected]>"
],
Expand Down
2 changes: 1 addition & 1 deletion dist/css/tableexport.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v3.3.8 (https://www.travismclarke.com)
* TableExport.js v3.3.9 (https://www.travismclarke.com)
* Copyright 2016 Travis Clarke
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/css/tableexport.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/js/tableexport.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v3.3.8 (https://www.travismclarke.com)
* TableExport.js v3.3.9 (https://www.travismclarke.com)
* Copyright 2016 Travis Clarke
* Licensed under the MIT license
*/
Expand Down Expand Up @@ -309,7 +309,7 @@
* Version.
* @memberof TableExport.prototype
*/
version: "3.3.8",
version: "3.3.9",
/**
* Default plugin options.
* @memberof TableExport.prototype
Expand Down Expand Up @@ -519,7 +519,7 @@
* @returns {TableExport} original TableExport instance
*/
reset: function () {
return new TableExport(this.selectors, settings, true);
return new TableExport(this.selectors, this.settings, true);
},
/**
* Remove the instance (i.e. caption containing the export buttons)
Expand Down
4 changes: 2 additions & 2 deletions dist/js/tableexport.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/typings/tableexport.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class TableExport {
/**
* selectors (e.g. tables) to apply the plugin to
*/
selectors: NodeList;
selectors: NodeList|JQuery;

/**
* Character set (character encoding) of the HTML.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tableexport",
"version": "3.3.8",
"version": "3.3.9",
"authors": [
"clarketm <[email protected]>"
],
Expand Down
2 changes: 1 addition & 1 deletion src/stable/css/tableexport.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v3.3.8 (https://www.travismclarke.com)
* TableExport.js v3.3.9 (https://www.travismclarke.com)
* Copyright 2016 Travis Clarke
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion src/stable/css/tableexport.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/stable/js/tableexport.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v3.3.8 (https://www.travismclarke.com)
* TableExport.js v3.3.9 (https://www.travismclarke.com)
* Copyright 2016 Travis Clarke
* Licensed under the MIT license
*/
Expand Down Expand Up @@ -309,7 +309,7 @@
* Version.
* @memberof TableExport.prototype
*/
version: "3.3.8",
version: "3.3.9",
/**
* Default plugin options.
* @memberof TableExport.prototype
Expand Down Expand Up @@ -519,7 +519,7 @@
* @returns {TableExport} original TableExport instance
*/
reset: function () {
return new TableExport(this.selectors, settings, true);
return new TableExport(this.selectors, this.settings, true);
},
/**
* Remove the instance (i.e. caption containing the export buttons)
Expand Down
Loading

0 comments on commit 0d8395f

Please sign in to comment.