Fix issues running the website locally on windows with npm3

This commit is contained in:
Janic Duplessis
2016-01-02 03:56:32 -05:00
parent 4972cabaa5
commit 2d50ac359c
5 changed files with 16 additions and 14 deletions

View File

@@ -811,13 +811,16 @@ Parser.prototype.tok = function() {
return React.DOM.hr(null, null);
}
case 'heading': {
return Header(
{level: this.token.depth, toSlug: this.token.text},
this.inline.output(this.token.text)
return (
<Header
level={this.token.depth}
toSlug={this.token.text}>
{this.inline.output(this.token.text)}
</Header>
);
}
case 'code': {
return Prism(null, this.token.text);
return <Prism>{this.token.text}</Prism>;
}
case 'table': {
var table = []