From e15ad58fe7a9107f7347b41691063130d57708a3 Mon Sep 17 00:00:00 2001 From: Benjamin Wegener Date: Fri, 2 Feb 2024 17:36:09 +0000 Subject: [PATCH] feat(engines) default loader emulating --- src/Views/DefaultLoader.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/Views/DefaultLoader.js diff --git a/src/Views/DefaultLoader.js b/src/Views/DefaultLoader.js new file mode 100644 index 0000000..cfcfd66 --- /dev/null +++ b/src/Views/DefaultLoader.js @@ -0,0 +1,13 @@ +export default class DefaultLoader { + constructor(filepath) { + this.content = filepath; + } + + async load() { + return this.content; + } + + parse(data = null) { + return this.content; + } +}