Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/node_modules/postcss-jsx/get-template.js')
-rw-r--r--assets/node_modules/postcss-jsx/get-template.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/assets/node_modules/postcss-jsx/get-template.js b/assets/node_modules/postcss-jsx/get-template.js
new file mode 100644
index 0000000..adf26a5
--- /dev/null
+++ b/assets/node_modules/postcss-jsx/get-template.js
@@ -0,0 +1,5 @@
+"use strict";
+function getTemplate (node, source) {
+ return source.slice(node.quasis[0].start, node.quasis[node.quasis.length - 1].end);
+}
+module.exports = getTemplate;