This commit is contained in:
Anton Dyudin 2015-10-21 16:37:05 -07:00
parent aecc57e3bb
commit c6ef8e1319
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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({