Skip to content

Instantly share code, notes, and snippets.

@xmory
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xmory/d9e059727264be59316d to your computer and use it in GitHub Desktop.
Save xmory/d9e059727264be59316d to your computer and use it in GitHub Desktop.
regularjs文档修订
http://regularjs.github.io/guide/zh/introduct/README.html
原文:由于本身生命周期的强约束,难以与其它框架公用
改为:由于本身生命周期的强约束,难以与其它框架共用
原文:并且它的组件展现中的逻辑控制完全依赖与js的语言能力,
改为:并且它的组件展现中的逻辑控制完全依赖于js的语言能力,
原文:react示范代码中,掉了引号
http://regularjs.github.io/guide/zh/getting-start/quirk-example.html
第4步:
原文:
Sorry, Guest. Please <a hreaf="javascript:;" on-click={{this.login()}}
改为
Sorry, Guest. Please <a href="javascript:;" on-click={{this.login()}}
http://regularjs.github.io/guide/zh/core/computed.html
原文:尽量regularjs的表达式支持非常完备,但是在某些情况下,创建计算属性(computed property)可以让你书写出冗余和重复的表达式
根据语意,应该是
不用书写出冗余和重复的表达式
http://regularjs.github.io/guide/zh/core/directive.html
原文:
<input type="radio"value="option1" r-model={{radio}}>
改为:
<input type="radio" value="option1" r-model={{radio}}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment