forked from xzhhbx/jsbox_script
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGithub.js
More file actions
30 lines (29 loc) · 650 Bytes
/
Copy pathGithub.js
File metadata and controls
30 lines (29 loc) · 650 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
let socketLogger = require("socketLogger")
typeof socketLogger.init === 'function' && socketLogger.init('192.168.50.229')
// SocketLogger Auto Generation Code
$ui.render({
props: {
navBarHidden: true,
statusBarStyle: 1,
},
views: [{
type: "view",
layout: $layout.fill,
props: {
bgcolor: $color("#24292e")
}
},{
type: "web",
props: {
url: "https://www.github.com",
toolbar: true,
showsProgress: false,
bounces: false
},
layout: (make, view) => {
make.top.equalTo(22)
make.height.equalTo(view.super).offset(22)
make.width.equalTo(view.super)
}
}]
})