getPath was a nice name - but it is taken.   i'm all ears for suggestions.


On Fri, Jun 7, 2013 at 1:55 PM, Veena Basavaraj <notifications@github.com>wrote:

> In lib/dust.js:
>
> >      }
> >      ctx = ctx.tail;
> >    }
> > -  return this.global ? this.global[key] : undefined;
> > +  if (this.global && this.global[key]){
> > +     return this.global[key];
> > +  }
> > +  return Context.getDot(this.global,keyPath);
> > +};
> > +
> > +Context.getDot = function(object,keyPath) {
>
> getDot ? not helping me get good context
>
> name needs to be self explanatory
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/linkedin/dustjs/pull/271/files#r4597659>
> .
>