Skip to content

Regularjs v0.3.0 released

Compare
Choose a tag to compare
@leeluolee leeluolee released this 27 Jan 07:07
· 295 commits to master since this release

v0.3.0 is the biggest release after v0.0.1 , we introduce serveral feature to help us using regularjs easily

  1. The default Syntax changed from {{}} to {} now. but you can return to old syntax use
    Regular.config({END: '}}', BEGIN: '{{'})
  2. Two-way filter is introduced . see reference for detail . It is used to control the flow from view back to model. you can combine it with r-model to realize some complex binding.
  3. prevent the safe error. like nested undefined error. for example {blog.title} won't throw' read title of undefined 'error now.
  4. Unified {#include} and transclude . see reference for detail. , you can use transclude content in {#include} now 。
  5. add component.$mute to disable a component . $inject(false) to remove component from document. you can use component.$mute(true).$inject(false) to compeletely remove a component from document now.
  6. ... and fixing some bug