Skip to content

Commit

Permalink
Updated TSC compiler output
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Feb 24, 2016
1 parent 1075678 commit 7097329
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dist/main/atom/views/rView.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ var MyComponent = (function (_super) {
});
};
MyComponent.prototype.render = function () {
return React.createElement("div", {onClick: this.stop}, "This is a test: ", this.state.count);
return React.createElement("div", {onClick: this.stop},
"This is a test: ",
this.state.count);
};
MyComponent.defaultProps = { count: 0 };
return MyComponent;
Expand Down
5 changes: 4 additions & 1 deletion dist/main/atom/views/semanticView.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ var MyComponent = (function (_super) {
};
MyComponent.prototype.renderNode = function (node, indent) {
var _this = this;
return React.createElement("div", {className: "node", onClick: function (event) { _this.gotoNode(node); event.stopPropagation(); }, "data-start": node.start.line, "data-end": node.end.line}, rts.indent(indent), React.createElement("span", {className: this.getIconForKind(node.kind) + ' ' + this.isSelected(node)}, node.text), node.subNodes.map(function (sn) { return _this.renderNode(sn, indent + 1); }));
return React.createElement("div", {className: "node", onClick: function (event) { _this.gotoNode(node); event.stopPropagation(); }, "data-start": node.start.line, "data-end": node.end.line},
rts.indent(indent),
React.createElement("span", {className: this.getIconForKind(node.kind) + ' ' + this.isSelected(node)}, node.text),
node.subNodes.map(function (sn) { return _this.renderNode(sn, indent + 1); }));
};
MyComponent.prototype.getIconForKind = function (kind) {
return "icon icon-" + kind;
Expand Down

0 comments on commit 7097329

Please sign in to comment.