Added support for this keyword in paths.
This commit is contained in:
@@ -107,6 +107,8 @@ Handlebars.Compiler.prototype = {
|
||||
break;
|
||||
case ".":
|
||||
// do nothing - using .'s is pretty dumb, but it's also basically free for us to support
|
||||
case "this":
|
||||
// if we do nothing you'll end up sticking in the same context
|
||||
break;
|
||||
default:
|
||||
readDepth = true;
|
||||
|
||||
Reference in New Issue
Block a user