derby-templates
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -106,3 +106,7 @@ exports.ContextMeta = ContextMeta; | ||
Context.prototype.forRelative = function(expression) { | ||
return (this.expression === expression) ? this.parent : this; | ||
var context = this; | ||
while (context && context.expression === expression || context.view) { | ||
context = context.parent; | ||
} | ||
return context; | ||
}; | ||
@@ -109,0 +113,0 @@ |
{ | ||
"name": "derby-templates", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48906
1347