mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-19 22:40:48 -07:00
chore(release): 7.2.1 [skip ci]
## [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))
This commit is contained in:
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
export default interface IContext {
|
||||
[key: string]: any;
|
||||
liquid_method_missing?: (key: string) => any;
|
||||
}
|
||||
Vendored
+10
-6
@@ -1,18 +1,22 @@
|
||||
import { NormalizedFullOptions } from '../liquid-options';
|
||||
import BlockMode from './block-mode';
|
||||
import IContext from './icontext';
|
||||
export default class Scope {
|
||||
opts: NormalizedFullOptions;
|
||||
contexts: Array<object>;
|
||||
contexts: Array<IContext>;
|
||||
blocks: object;
|
||||
groups: {
|
||||
[key: string]: number;
|
||||
};
|
||||
blockMode: BlockMode;
|
||||
constructor(ctx?: object, opts?: NormalizedFullOptions);
|
||||
getAll(): object;
|
||||
getAll(): IContext;
|
||||
get(path: string): any;
|
||||
set(path: string, v: any): void;
|
||||
unshift(ctx: object): number;
|
||||
push(ctx: object): number;
|
||||
pop(ctx?: object): object;
|
||||
findContextFor(key: string, filter?: ((conttext: object) => boolean)): object;
|
||||
readProperty(obj: any, key: any): any;
|
||||
propertyAccessSeq(str: any): any[];
|
||||
pop(ctx?: object): object | undefined;
|
||||
findContextFor(key: string, filter?: ((conttext: object) => boolean)): IContext | null;
|
||||
private readProperty;
|
||||
propertyAccessSeq(str: string): string[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user