Passed
Push — master ( 3919cd...d8aded )
by Felipe Catão do
01:22 queued 11s
created

main.js ➔ homeLink   A

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
1
import menu from "../components/menu.js"
2
import EngineApp from '../../Framework/engine.js'
3
import homePage from "../pages/home.js"
4
import routes from '../routes/routes.js'
5
6
var eng=new EngineApp()
7
var rto = new routes()
0 ignored issues
show
Coding Style Best Practice introduced by
By convention, constructors like routes should be capitalized.
Loading history...
8
//renderizar o menu
9
rto.routesCreated()
10
menu(1)
11
document.getElementById("docLink").addEventListener("click",gotolinkDoc,false)
12
document.getElementById("homelavine").addEventListener("click",homeLink,false)
13
14
function gotolinkDoc(){
15
    rto.doc()
16
}
17
function homeLink(){
18
    rto.teste()
19
}
20
class functionsClass{
21
    gotoLink(){
22
    }
23
}
24
25
export default functionsClass