• R/O
  • SSH

fcf: Commit

FCF - Full Stack Javascript Framework

OpenSource is a full stack development framework designed to simplify the development of WEB projects of various complexity levels.

It is based on unique technologies that open up new opportunities in development approaches with NODEJS.


Commit MetaInfo

Révisionc9a9d427a1f207c61067fcad296ac2836e0feb4c (tree)
l'heure2022-07-04 04:43:30
AuteurVladimir Markin <v.o.markin221@gmai...>
CommiterVladimir Markin

Message de Log

added taskInfo to render execution code

Change Summary

Modification

diff -r fe0afde0acbb -r c9a9d427a1f2 NClient/Render.js
--- a/NClient/Render.js Sun Jul 03 13:48:23 2022 +0300
+++ b/NClient/Render.js Sun Jul 03 22:43:30 2022 +0300
@@ -731,11 +731,12 @@
731731 return fcf.argRef(arguments[0], arguments[1]);
732732 }
733733 await renderInscrtutions.renderFunction({
734- decor: fcf.application.getTheme().getDecor(),
735- route: a_options.route ? a_options.route : fcf.getContext().route,
736- args: resultArgs,
737- render: templateRender,
738- fcf: libFCF,
734+ decor: fcf.application.getTheme().getDecor(),
735+ route: a_options.route ? a_options.route : fcf.getContext().route,
736+ args: resultArgs,
737+ render: templateRender,
738+ fcf: libFCF,
739+ taskInfo: taskInfo,
739740 });
740741 fcf.getContext().currentTemplate = lct;
741742 resultContent = await templateRender.build()
diff -r fe0afde0acbb -r c9a9d427a1f2 NRender/NDetails/TemplateProcessor.js
--- a/NRender/NDetails/TemplateProcessor.js Sun Jul 03 13:48:23 2022 +0300
+++ b/NRender/NDetails/TemplateProcessor.js Sun Jul 03 22:43:30 2022 +0300
@@ -30,7 +30,7 @@
3030 route: a_options.route,
3131 args: a_options.args,
3232 state: a_options.state,
33- rawTemplate: a_options.rawTemplate
33+ rawTemplate: a_options.rawTemplate,
3434 });
3535 var renderingBlocks = self._getRenderingBlocks(a_options.template, a_options.rawTemplate, a_options.aliases ? a_options.aliases : {});
3636 var decor = typeof a_options.state.theme.getDecor() == "object" ? a_options.state.theme.getDecor() : {};
@@ -48,11 +48,12 @@
4848 await self._renderBlock(
4949 a_options.rawTemplate.template.template,
5050 {
51- render: templateRender,
52- args:a_options.args,
53- route: a_options.route,
54- decor: decor,
55- fcf: libFCF,
51+ render: templateRender,
52+ args: a_options.args,
53+ route: a_options.route,
54+ decor: decor,
55+ fcf: libFCF,
56+ taskInfo: a_options.taskInfo
5657 },
5758 a_options.rawTemplate.template.path,
5859 a_options.rawTemplate.template.stringNumber,
diff -r fe0afde0acbb -r c9a9d427a1f2 NRender/Render.js
--- a/NRender/Render.js Sun Jul 03 13:48:23 2022 +0300
+++ b/NRender/Render.js Sun Jul 03 22:43:30 2022 +0300
@@ -196,6 +196,7 @@
196196 route: a_options.route ? a_options.route : fcf.getContext().route,
197197 args: resultArgs,
198198 sources: resultSources,
199+ taskInfo: taskInfo,
199200 state: state,
200201 onResult: function(a_error, a_content) {
201202 if (a_error) {
Afficher sur ancien navigateur de dépôt.