diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-22 15:34:35 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-22 15:34:35 +0100 |
commit | 6653307fda137253cd10d4d4f6d2e010c1c0f604 (patch) | |
tree | 754d73e1dadc19e692bfce468e674cd66eff8a0a /lib/plugins/context.js | |
parent | 642ba72a1d0680107357083a79560c2ccc931457 (diff) | |
download | gitbook-6653307fda137253cd10d4d4f6d2e010c1c0f604.zip gitbook-6653307fda137253cd10d4d4f6d2e010c1c0f604.tar.gz gitbook-6653307fda137253cd10d4d4f6d2e010c1c0f604.tar.bz2 |
Add tests for context of filters
Diffstat (limited to 'lib/plugins/context.js')
-rw-r--r-- | lib/plugins/context.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/context.js b/lib/plugins/context.js index a192b7b..17cefb6 100644 --- a/lib/plugins/context.js +++ b/lib/plugins/context.js @@ -19,7 +19,7 @@ function pluginCtx(plugin) { error.deprecateField(ctx, 'options', book.config.dump(), '"options" property is deprecated, use config.get(key) instead'); // Loop for template filters/blocks - error.deprecateField(ctx, 'book', ctx, '"book" property is deprecated, this directly instead'); + error.deprecateField(ctx, 'book', ctx, '"book" property is deprecated, use "this" directly instead'); return ctx; } |