catull

Results 143 comments of catull

@Goopil A couple of observations. `maher1991` is not a main contributor to this project, thus he cannot merge PRs. This project has not been actively contributed to since February 4th,...

@larsga In which way ? Implicitly by scope ? Thus top scope's variables are visible in lower / nested scopes ? Or explicitly, you have to include variables into some...

Have you tried this: ```json { "key" : "other_explain", "condition" : "model.other", "type" : "textarea", "htmlClass": 'yourCustomClass' } ``` ?

The keyword above is `"type": "section"`. A section translates to a `` container, so the collapsing/expanding applies to the entire `` container. So, it is up to you how much...

@AngryBeaver How about you create a PR against https://github.com/shamoons/ng-json-schema-form. Shamoon is the next maintainer of this library.

To clarify one point. In JSON, one object, say an an animal with name, kind and age is displayed as such ```json { "kind": "cat", "name": "Tom", "age:" 10 }...

The method/function you can use is [`fallback`](https://github.com/schibsted/jslt/blob/master/functions.md#fallbackarg1-arg2----value) Try: ``` [ { "Address": fallback (.ADDRESS.content,.ADDRESS) }, { "Address2": fallback (.ADDRESS2.content,.ADDRESS2) } ] ```

Another variant: ``` let address = fallback (.ADDRESS.content , .ADDRESS) let address2 = fallback (.ADDRESS2.content, .ADDRESS2) def process() [ { "Address": $address }, { "Address2": $address2 } ] process() ```

If have to disagree; your original version was syntactically incorrect. You were using "let"-statements outside of a function, basically. As soon as you use "let"-statements, you have to introduce a...

Touché. However, that stement is not correct. The grammar specifies [root production](https://github.com/schibsted/jslt/blob/master/core/src/main/jjtree/jslt.jjt#L89C1-L95C2) as ``` void Start() : {} { (Import())* (Let() | FunctionDecl())* Expr() } ``` Ignore the `Import`. The...