From 017fe50b21ab546c276cf2b1f6ecb4e02901b061 Mon Sep 17 00:00:00 2001 From: Arthur Tkachenko Date: Sun, 12 Sep 2021 15:25:29 +0000 Subject: [PATCH] methods are calling without any bug --- src/html/parseHTML.js | 2 +- src/parser.js | 3 ++- src/react/parseReact.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/html/parseHTML.js b/src/html/parseHTML.js index 3051393c5..24c161c08 100644 --- a/src/html/parseHTML.js +++ b/src/html/parseHTML.js @@ -9,7 +9,7 @@ const { replaceMarkdownPreviewText, } = require('atherdon-callbacks'); -const { stateInit } = require('../command-line-methods'); +const { stateInit } = require('markup-generator'); // TODO update this method. I'm sure it can be improved. diff --git a/src/parser.js b/src/parser.js index 08fb36fa1..d7a2c3e28 100644 --- a/src/parser.js +++ b/src/parser.js @@ -1,4 +1,5 @@ const { + generateContentOnly, // depricated method generateFullTemplate2, generateFullTemplate, } = require('./html/methods'); @@ -29,7 +30,7 @@ switch (process.env.PARSE) { break; } -module.exports = { +module.exports = { generateContentOnly, generateFullTemplate, }; diff --git a/src/react/parseReact.js b/src/react/parseReact.js index 74ed5c767..7f590afd4 100644 --- a/src/react/parseReact.js +++ b/src/react/parseReact.js @@ -5,7 +5,7 @@ const { } = require('atherdon-callbacks'); -const { stateInit } = require('../command-line-methods'); +const { stateInit } = require('markup-generator'); // ReactReplacer