Lines Matching full:watcher
12 * A watcher parses an expression, collects dependencies,
30 export default function Watcher (vm, expOrFn, cb, options) { class
62 Watcher.prototype.get = function () {
79 Watcher.prototype.addDep = function (dep) {
93 Watcher.prototype.cleanupDeps = function () {
115 Watcher.prototype.update = function (shallow) {
126 Watcher.prototype.run = function () {
143 * Evaluate the value of the watcher. This only gets called for lazy watchers.
145 Watcher.prototype.evaluate = function () {
151 * Depend on all deps collected by this watcher.
153 Watcher.prototype.depend = function () {
163 Watcher.prototype.teardown = function () {
165 /* Remove self from vm's watcher list.
168 * re-render (the watcher list is then filtered by v-for).