summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/ast.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2013-10-09 03:21:21 -0700
committerkpdecker <kpdecker@gmail.com>2013-10-09 03:21:21 -0700
commit4d7124f6bfcc3b316c33558840c9e952cca1ce8c (patch)
tree17e6ad1010efec7938dfca56212426ac445e0294 /lib/handlebars/compiler/ast.js
parentb6c9f85d227aad8ed2db9c04f0eed5a7c7131879 (diff)
downloadhandlebars.js-4d7124f6bfcc3b316c33558840c9e952cca1ce8c.zip
handlebars.js-4d7124f6bfcc3b316c33558840c9e952cca1ce8c.tar.gz
handlebars.js-4d7124f6bfcc3b316c33558840c9e952cca1ce8c.tar.bz2
Remove global Handlebars references
Diffstat (limited to 'lib/handlebars/compiler/ast.js')
-rw-r--r--lib/handlebars/compiler/ast.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlebars/compiler/ast.js b/lib/handlebars/compiler/ast.js
index e4e8049..336492d 100644
--- a/lib/handlebars/compiler/ast.js
+++ b/lib/handlebars/compiler/ast.js
@@ -71,7 +71,7 @@ export function IdNode(parts) {
original += (parts[i].separator || '') + part;
if (part === ".." || part === "." || part === "this") {
- if (dig.length > 0) { throw new Handlebars.Exception("Invalid path: " + original); }
+ if (dig.length > 0) { throw new Exception("Invalid path: " + original); }
else if (part === "..") { depth++; }
else { this.isScoped = true; }
}