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:
semantic-release-bot
2019-02-22 19:56:16 +00:00
parent 3cf01603e8
commit 37d12a14eb
62 changed files with 620 additions and 711 deletions
+4
View File
@@ -0,0 +1,4 @@
export default interface IContext {
[key: string]: any;
liquid_method_missing?: (key: string) => any;
}
+10 -6
View File
@@ -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[];
}