mirror of https://github.com/vuejs/vue.git
comment updates
This commit is contained in:
parent
9546965ae0
commit
d0c96c5c25
|
|
@ -115,6 +115,10 @@ BindingProto.update = function (value) {
|
|||
this.pub()
|
||||
}
|
||||
|
||||
/*
|
||||
* -- computed property only --
|
||||
* Force all instances to re-evaluate themselves
|
||||
*/
|
||||
BindingProto.refresh = function () {
|
||||
var i = this.instances.length
|
||||
while (i--) {
|
||||
|
|
|
|||
|
|
@ -58,8 +58,8 @@ DirProto.update = function (value) {
|
|||
}
|
||||
|
||||
/*
|
||||
* -- computed property only --
|
||||
* called when a dependency has changed
|
||||
* computed properties only
|
||||
*/
|
||||
DirProto.refresh = function () {
|
||||
// pass element and scope info to the getter
|
||||
|
|
|
|||
Loading…
Reference in New Issue