-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Misc bug bix travis node upgrade (#305)
* Add logError utility * Improve development logging for isNodeVisible in collapse.helper * Update node versions in .travis.yml * Update CHANGELOG.md with some ecosystem update * Update missing docs on renderLabel * Delete yarn.lock * Update misc dependencies patch, minors. Fix security vulnerability * Set link.highlightColor default as 'SAME' * Generate anchor links for each react-d3-graph documented configuration property * Move analytics to separate JS file to toggle off in development mode
- Loading branch information
1 parent
2063352
commit 6a6f811
Showing
15 changed files
with
2,291 additions
and
13,376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
if (process.env.NODE_ENV !== "development") { | ||
(function(i, s, o, g, r, a, m) { | ||
i["GoogleAnalyticsObject"] = r; | ||
(i[r] = | ||
i[r] || | ||
function() { | ||
(i[r].q = i[r].q || []).push(arguments); | ||
}), | ||
(i[r].l = 1 * new Date()); | ||
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]); | ||
a.async = 1; | ||
a.src = g; | ||
m.parentNode.insertBefore(a, m); | ||
})(window, document, "script", "https://www.google-analytics.com/analytics.js", "ga"); | ||
try { | ||
// eslint-disable-next-line no-undef | ||
ga("create", "UA-121685077-2", "auto"); | ||
// eslint-disable-next-line no-undef | ||
ga("send", "pageview"); | ||
} catch (error) { | ||
if (process.env.NODE_ENV === "development") { | ||
console.error("react-d3-graph :: ", error); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.