🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

egg-view-twig-x

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-view-twig-x - npm Package Compare versions

Comparing version
0.0.1
to
0.0.2
+2
-5
lib/view.js

@@ -12,7 +12,4 @@ 'use strict';

this.config = ctx.app.config.twig;
console.log('twig view', ctx.app.config.twig)
if (this.config.extendFilter) {
this.config.extendFilter.forEach((val) => {
Twig.extendFilter(val.name, val.filter)
})
if (ctx.app.config.twigExtends) {
ctx.app.config.twigExtends.apply(this, [ Twig ]);
}

@@ -19,0 +16,0 @@ }

{
"name": "egg-view-twig-x",
"version": "0.0.1",
"version": "0.0.2",
"description": "egg view plugin for twig",

@@ -5,0 +5,0 @@ "eggPlugin": {