misc: fix some module require orders
This commit is contained in:
parent
831f80f7b0
commit
cd2e77272c
5 changed files with 19 additions and 8 deletions
|
|
@ -1,11 +1,15 @@
|
|||
var loopProtect = require('loop-protect'),
|
||||
{deepCopy} = require('../utils'),
|
||||
globals
|
||||
|
||||
setTimeout(()=>{
|
||||
globals = {
|
||||
screen: {width: screen.width, height: screen.height},
|
||||
env: deepCopy(ENV),
|
||||
url: document.location.host,
|
||||
platform: navigator.platform
|
||||
}
|
||||
})
|
||||
|
||||
class Vm {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue