Add svelte as a view engine to swaf #33
@ -237,7 +237,7 @@ export default class SvelteViewEngine extends ViewEngine {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ([' ', '\n', '<'].indexOf(output[endIndex]) >= 0 && struct === 0) break;
|
if ([' ', '\n', '<', '.', '\'', '"'].indexOf(output[endIndex]) >= 0 && struct === 0) break;
|
||||||
endIndex++;
|
endIndex++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user