scripting: add globals.ip variable
This commit is contained in:
parent
984882e9f6
commit
cf56e27c87
4 changed files with 7 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ class Vm {
|
|||
globals = {
|
||||
screen: {width: screen.width, height: screen.height},
|
||||
env: deepCopy(ENV),
|
||||
ip: IP,
|
||||
url: document.location.host,
|
||||
platform: navigator.platform
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue