nornj

More exciting JS/JSX based on Template Engine, support control flow tags, custom directives, two-way binding, filters and custom operators.

MIT License

Downloads
1.4K
Stars
101
Committers
8

Bot releases are visible (Hide)

nornj - v0.3.4

Published by joe-sky over 8 years ago

  • Fix the bug when the outermost layer of the template using expression
  • Support using ../# to get the parent expression's index
  • Fix tools.listPush
  • The default sign of expression changed to #
  • Support using point access attribute, similar to this: {a.b.c}
  • Fix the bug of the attribute only has key in html template
  • Added some built-in filters and expressions, such as: for,int,bool...
nornj - v0.3.3

Published by joe-sky over 8 years ago

  • Support using this transfer parameters in the expressions
  • Added useString parameter in the filters
  • Self closing tags are detected when compiling the tag template
  • Support replace the rule of expression
  • setParamRule change to setTmplRule
  • Added renderTmplExpr function
  • Added equal expression
  • Fix filter's bug
nornj - v0.3.2

Published by joe-sky over 8 years ago

  • In the html template, the camel case attribute is unified with the "-" connection.
  • Fix self close tag's bug when using the template string.
  • Support standard es6 when using the precompiler.
  • Support don't set parameter in the expressions.
  • Added spreadParam expression.
  • Component engine support use inferno.
nornj - v0.3.0

Published by joe-sky over 8 years ago

  • Support custom expression block
  • Add built-in expression unless and param
  • Support multiple parameters inside the replace parameter
  • Remove the object form definition parameter in the array template
nornj - v0.2.3

Published by joe-sky over 8 years ago

  • Add can update the rule of replace parameter
  • Support the parameter only has key inside the open tag
  • Precompiler optimization
nornj - v0.2.2

Published by joe-sky over 8 years ago

  • Code structure optimization
  • Render speed optimization
nornj - v0.2.1

Published by joe-sky over 8 years ago

  • Add es6 template string grammar sugar
  • Rendering performance optimization
  • Add eslint
  • Add built-in filter equal
  • Batch register filter and component pattern optimization
nornj - v0.1.3

Published by joe-sky over 8 years ago

  • The compile function can receive precompiled template
  • Supports parameter substitution node type
  • Add assign function
  • Can get array item number inside the each block
  • Add parent and index parameter inside the filter
nornj - v0.1.0

Published by joe-sky over 8 years ago

Initial publish release