mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 21:00:40 -07:00
docs: introduce JS script to escape for Hexo, fixes #480
This commit is contained in:
@@ -8,14 +8,14 @@ import { InternalUndefinedVariableError } from '../util/error'
|
||||
export class Context {
|
||||
/**
|
||||
* insert a Context-level empty scope,
|
||||
* for tags like {% capture %} {% assign %} to operate
|
||||
* for tags like `{% capture %}` `{% assign %}` to operate
|
||||
*/
|
||||
private scopes: Scope[] = [{}]
|
||||
private registers = {}
|
||||
/**
|
||||
* user passed in scope
|
||||
* {% increment %}, {% decrement %} changes this scope,
|
||||
* whereas {% capture %}, {% assign %} only hide this scope
|
||||
* `{% increment %}`, `{% decrement %}` changes this scope,
|
||||
* whereas `{% capture %}`, `{% assign %}` only hide this scope
|
||||
*/
|
||||
public environments: Scope
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user