mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 12:20:40 -07:00
## [7.2.1](https://github.com/harttle/liquidjs/compare/v7.2.0...v7.2.1) (2019-02-22)
### Bug Fixes
* default length for truncate and truncatewords ([56c7992](https://github.com/harttle/liquidjs/commit/56c7992))
23 lines
769 B
TypeScript
23 lines
769 B
TypeScript
import { NormalizedFullOptions } from '../liquid-options';
|
|
import BlockMode from './block-mode';
|
|
import IContext from './icontext';
|
|
export default class Scope {
|
|
opts: NormalizedFullOptions;
|
|
contexts: Array<IContext>;
|
|
blocks: object;
|
|
groups: {
|
|
[key: string]: number;
|
|
};
|
|
blockMode: BlockMode;
|
|
constructor(ctx?: object, opts?: NormalizedFullOptions);
|
|
getAll(): IContext;
|
|
get(path: string): any;
|
|
set(path: string, v: any): void;
|
|
unshift(ctx: object): number;
|
|
push(ctx: object): number;
|
|
pop(ctx?: object): object | undefined;
|
|
findContextFor(key: string, filter?: ((conttext: object) => boolean)): IContext | null;
|
|
private readProperty;
|
|
propertyAccessSeq(str: string): string[];
|
|
}
|