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

Commit

Permalink
v5.0.0-rc.10 - fix: reset hashCode seed for cloned nodes and dynamic …
Browse files Browse the repository at this point in the history
…tables
  • Loading branch information
clarketm committed Jul 12, 2017
1 parent 4296c56 commit 9d9425d
Show file tree
Hide file tree
Showing 11 changed files with 20 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": "5.0.0-rc.9",
"version": "5.0.0-rc.10",
"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 v5.0.0-rc.9 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.10 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand Down
2 changes: 1 addition & 1 deletion dist/css/tableexport.min.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v5.0.0-rc.9 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.10 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand Down
7 changes: 4 additions & 3 deletions dist/js/tableexport.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v5.0.0-rc.9 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.10 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand Down Expand Up @@ -148,7 +148,7 @@
* Version.
* @memberof TableExport.prototype
*/
version: '5.0.0-rc.9',
version: '5.0.0-rc.10',
/**
* Default library options.
* @memberof TableExport.prototype
Expand Down Expand Up @@ -983,9 +983,10 @@
})();

var _hashCode = (function () {
var hash = 0, i, char;

return function (hashKey) {
var hash = 0, i, char;

var type = hashKey.type;
hashKey = JSON.stringify(hashKey);
if (hashKey.length === 0) return hash;
Expand Down
4 changes: 2 additions & 2 deletions dist/js/tableexport.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/tableexport.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Type definitions for TableExport v5.0.0-rc.9
// Type definitions for TableExport v5.0.0-rc.10
// Project: https://tableexport.v4.travismclarke.com
// Definitions by: Travis Clarke <https://github.com/clarketm>

/*!
* TableExport.js v5.0.0-rc.9 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.10 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
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": "5.0.0-rc.9",
"version": "5.0.0-rc.10",
"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 v5.0.0-rc.9 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.10 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand Down
2 changes: 1 addition & 1 deletion src/stable/css/tableexport.min.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v5.0.0-rc.9 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.10 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand Down
7 changes: 4 additions & 3 deletions src/stable/js/tableexport.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v5.0.0-rc.9 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.10 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand Down Expand Up @@ -148,7 +148,7 @@
* Version.
* @memberof TableExport.prototype
*/
version: '5.0.0-rc.9',
version: '5.0.0-rc.10',
/**
* Default library options.
* @memberof TableExport.prototype
Expand Down Expand Up @@ -983,9 +983,10 @@
})();

var _hashCode = (function () {
var hash = 0, i, char;

return function (hashKey) {
var hash = 0, i, char;

var type = hashKey.type;
hashKey = JSON.stringify(hashKey);
if (hashKey.length === 0) return hash;
Expand Down
4 changes: 2 additions & 2 deletions src/stable/js/tableexport.min.js

Large diffs are not rendered by default.

0 comments on commit 9d9425d

Please sign in to comment.