Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 16 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import EngineApp from '../../Framework/engine.js' |
||
2 | let eng =new EngineApp() |
||
3 | |||
4 | function article(){ |
||
5 | eng.componentsEngine.createComponent("vertical",articleRender()) |
||
6 | eng.componentsEngine.renderComponent("dinamic","vertical") |
||
7 | } |
||
8 | |||
9 | function articleRender(){ |
||
10 | return "<div class='articleComp'>"+ |
||
11 | "<article>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ad quae quasi tenetur, commodi voluptas aperiam sunt alias autem molestiae sit exercitationem! Labore quo optio placeat minima vero id quis! Dicta.</article>"+ |
||
12 | "</div>" |
||
13 | } |
||
14 | |||
15 | |||
16 | export default article |