forked from lix-project/lix-website
8 lines
170 B
JavaScript
8 lines
170 B
JavaScript
'use strict';
|
|
|
|
function getTemplate(node, source) {
|
|
return source.slice(node.quasis[0].start, node.quasis[node.quasis.length - 1].end);
|
|
}
|
|
|
|
module.exports = getTemplate;
|