Skip to content

read returns parentHasKey data

Compare
Choose a tag to compare
@phillipskevin phillipskevin released this 06 Jun 22:59
· 111 commits to master since this release
var VM = DefineMap.extend({
  foo: "string"
});
var vm = new VM();
var scope = new Scope(vm);
scope.read("foo").parentHasKey; // -> true

This also makes it so that getPathsForKey will return back paths where the key returns a function.