Custom contracts errors with many user defined contracts not readable #8

Merged
merged 1 commit into from Mar 12, 2012
View
2 src/contracts.coffee
@@ -424,7 +424,7 @@ object = (objContract, options = {}, name) ->
propName + " : " + obj[propName].value?.cname
, this
- "{" + props.join(", ") + "}"
+ "{\n " + props.join(",\n ") + "\n}"
else
name