Skip to content

Commit

Permalink
Update 2013-07-10-从零开始编写自己的JavaScript框架(二).md
Browse files Browse the repository at this point in the history
  • Loading branch information
xufei committed Nov 20, 2013
1 parent f68f435 commit e562f67
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -17,7 +17,7 @@
};

如果我们给name重新赋值,person.name = "Jerry",怎么才能让界面得到变更?

<!--more-->
从直觉来说,我们需要在name发生改变的时候,触发一个事件,或者调用某个指定的方法,然后才好着手做后面的事情,比如:

var person = {
Expand Down

0 comments on commit e562f67

Please sign in to comment.