This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
si = require('systeminformation')
|
||||
|
||||
window.onload = () ->
|
||||
si.cpu()
|
||||
.then((data) ->
|
||||
console.log(data)
|
||||
).catch((error) ->
|
||||
console.error(error)
|
||||
)
|
||||
@@ -0,0 +1,2 @@
|
||||
@loadPage = (pagePath) ->
|
||||
window.location.href = pagePath + '.html'
|
||||
Reference in New Issue
Block a user