@torpor/view 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/compile.cjs +4 -0
- package/dist/compile.cjs.map +1 -1
- package/dist/compile.js +4 -0
- package/dist/compile.js.map +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +1 -1
- package/src/compile/parse/parseCode.ts +4 -0
package/dist/compile.js
CHANGED
|
@@ -3779,15 +3779,19 @@ function parseComponentStyle(status) {
|
|
|
3779
3779
|
} else if (char === "/" && nextChar === "*") {
|
|
3780
3780
|
status.i = status.source.indexOf("*/", status.i) + 1;
|
|
3781
3781
|
} else if (char === '"' || char === "'") {
|
|
3782
|
+
styleSource += char;
|
|
3782
3783
|
for (let j = status.i + 1; j < status.source.length; j++) {
|
|
3784
|
+
styleSource += status.source[j];
|
|
3783
3785
|
if (status.source[j] === char && status.source[j - 1] !== "\\") {
|
|
3784
3786
|
status.i = j;
|
|
3785
3787
|
break;
|
|
3786
3788
|
}
|
|
3787
3789
|
}
|
|
3788
3790
|
} else if (char === "`") {
|
|
3791
|
+
styleSource += char;
|
|
3789
3792
|
let level2 = 0;
|
|
3790
3793
|
for (let j = status.i + 1; j < status.source.length; j++) {
|
|
3794
|
+
styleSource += status.source[j];
|
|
3791
3795
|
if (status.source[j] === char && status.source[j - 1] !== "\\" && level2 === 0) {
|
|
3792
3796
|
status.i = j;
|
|
3793
3797
|
break;
|