Skip to content

Commit

Permalink
recovery data.evaluator.toString
Browse files Browse the repository at this point in the history
  • Loading branch information
RubyLouvre committed Sep 10, 2014
1 parent 66173f3 commit f0efc58
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 112 deletions.
6 changes: 3 additions & 3 deletions avalon.js
Original file line number Diff line number Diff line change
Expand Up @@ -2380,9 +2380,9 @@
parseExpr(code, scopes, data)
if (data.evaluator) {
data.handler = bindingExecutors[data.handlerName || data.type]
// data.evaluator.toString = function() {
// return data.type + " binding to eval(" + code + ")"
// }
data.evaluator.toString = function() {
return data.type + " binding to eval(" + code + ")"
}
//方便调试
//这里非常重要,我们通过判定视图刷新函数的element是否在DOM树决定
//将它移出订阅者列表
Expand Down
Loading

0 comments on commit f0efc58

Please sign in to comment.