From 0ed3460d7c648f5c03c70c6c6d31341ce6d117b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Wed, 3 Aug 2022 15:09:40 +0900 Subject: [PATCH] Added process_time var --- vflow.js | 1 + 1 file changed, 1 insertion(+) diff --git a/vflow.js b/vflow.js index 738ccef..40d438b 100644 --- a/vflow.js +++ b/vflow.js @@ -78,6 +78,7 @@ VFlow.prototype.endFlow = function( layout, ext ) var FinalHandle = function( def, data, _class ) { var view = doT.template( data, options[ _class ], def ); + viewData[ "_process_time" ] = () => _self.scope.ProcessTime; _self.Render( view( viewData ) ); };