Skip to content

Releases: laurence-myers/tcat

Release list

v0.3.2

Choose a tag to compare

@laurence-myers laurence-myers released this 09 Apr 10:46
  • Fix #8: conditional ternary expression would have the consequent and alternate swapped.
  • Fix #10: combining "ng-if" and "ng-controller" on the same element would create two scopes, but only de-scope one, so in the generated code, nodes derived from sibling elements would instead be treated as child nodes.
  • Fix #11: using "ng-controller" with "x as y" syntax would produce scope blocks with an inline type declaration which could not be extended, so you could not reference anything except the controller, including identifiers from the parent scope. Now, writing fooController as ctrl will produce a scope with type { ctrl : fooController } & fooControllerScope. You will need to define both fooController and fooControllerScope in your .jade.ts interface file.