We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0af739b commit 417b438Copy full SHA for 417b438
lib/parser.js
@@ -71,15 +71,7 @@ module.exports = function (content) {
71
var start = node.childNodes[0].__location.start
72
var end = node.childNodes[node.childNodes.length - 1].__location.end
73
74
- var result
75
- if (type === 'script') {
76
- result =
77
- // commentScript(content.slice(0, start)) +
78
- content.slice(start, end)// +
79
- // commentScript(content.slice(end))
80
- } else {
81
- result = content.slice(start, end).trim()
82
- }
+ var result = content.slice(start, end).trim()
83
84
output[type].push({
85
lang: lang,
0 commit comments