mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-20 15:00:42 -07:00
fix: typo in scope.get("liquid") error message, fixes #50
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ var Scope = {
|
|||||||
},
|
},
|
||||||
get: function (str) {
|
get: function (str) {
|
||||||
if (str === 'liquid') {
|
if (str === 'liquid') {
|
||||||
throw new Error('NO LONGER SUPPORTED: use scope.opts instread of scope.get("liquid")')
|
throw new Error('NO LONGER SUPPORTED: use scope.opts instead of scope.get("liquid")')
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
return this.getPropertyByPath(this.scopes, str)
|
return this.getPropertyByPath(this.scopes, str)
|
||||||
|
|||||||
Reference in New Issue
Block a user