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 e740572 commit 215a07cCopy full SHA for 215a07c
src/main/resources/META-INF/resources/frontend/code-viewer.ts
@@ -300,10 +300,12 @@ pre[class*="language-"] {
300
&& !line.startsWith('@PageTitle')
301
&& !line.startsWith('@DemoSource')
302
&& !line.startsWith('@SuppressWarnings')
303
+ && !line.startsWith('@Ignore')
304
&& !line.startsWith('package ')
305
&& line != 'import com.vaadin.flow.router.PageTitle;'
306
&& line != 'import com.vaadin.flow.router.Route;'
307
&& line != 'import com.flowingcode.vaadin.addons.demo.DemoSource;'
308
+ && line != 'import org.junit.Ignore;'
309
).map(line=>{
310
let m= line!.match("^(?<spaces>\\s*)//\\s*show-source\\s(?<line>.*)");
311
return m?m.groups!.spaces+m.groups!.line : line;
0 commit comments