From c6ef8e13194fb42e814b0b73f0096c5f33310f4f Mon Sep 17 00:00:00 2001 From: Anton Dyudin Date: Wed, 21 Oct 2015 16:37:05 -0700 Subject: [PATCH] typo --- pub/tree/src/js/components/BodyComponent.coffee | 2 +- pub/tree/src/js/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pub/tree/src/js/components/BodyComponent.coffee b/pub/tree/src/js/components/BodyComponent.coffee index 550fa41079..ed6fe473b7 100644 --- a/pub/tree/src/js/components/BodyComponent.coffee +++ b/pub/tree/src/js/components/BodyComponent.coffee @@ -46,7 +46,7 @@ module.exports = query { }, recl displayName: "Body" render: -> - className = (@props.meta.layout?.replace() /,/g," ") || "" + className = (@props.meta.layout?.replace /,/g," ") || "" body = [reactify @props.body] if @props.meta.logo? body.unshift (Logo color:@props.meta.logo) diff --git a/pub/tree/src/js/main.js b/pub/tree/src/js/main.js index 6e3fc876a2..f1116141b7 100644 --- a/pub/tree/src/js/main.js +++ b/pub/tree/src/js/main.js @@ -497,7 +497,7 @@ module.exports = query({ displayName: "Body", render: function() { var body, className, ref1; - className = ((ref1 = this.props.meta.layout) != null ? ref1.replace()(/,/g, " ") : void 0) || ""; + className = ((ref1 = this.props.meta.layout) != null ? ref1.replace(/,/g, " ") : void 0) || ""; body = [reactify(this.props.body)]; if (this.props.meta.logo != null) { body.unshift(Logo({