Github user nadeeshaan commented on a diff in the pull request:
https://github.com/apache/couchdb-fauxton/pull/401#discussion_r30625538
--- Diff: app/addons/documents/revisionTree/component.react.jsx ---
@@ -0,0 +1,332 @@
+define([
+ "app",
+ "api",
+ "react",
+ 'addons/documents/revisionTree/stores',
+ 'addons/documents/revisionTree/actions',
+],
+
+function (app, FauxtonAPI, React, Stores) {
+
+ var store = Stores.revTreeStore;
+ var lineObjs = [];
+ var nodeObjs = [];
+ var textObjs = [];
+ var grid = 100;
+ var scale = 7;
+ var r = 15;
+
+ var LinesBox = React.createClass({
+ render: function () {
+ return (
+ <g>
+ {
+ this.props.data.map(function (element, i) {
+ return <Line key={i} data={element}/>;
+ })
--- End diff --
adding semicolon gives an error --- "Unexpected Token ;"
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---