- Notifications
You must be signed in to change notification settings - Fork 151
/
Copy pathglobalVariables.ts
27 lines (20 loc) · 706 Bytes
/
globalVariables.ts
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
/*global ...*/
/*eslint no-undef: "error"*/
declareconstwindow: any
importjQueryfrom'jquery'
window.$=window.jQuery=jQuery
importArrayfrom'./simulator/src/arrayHelpers.js'
window.Array=Array
window.isUserLoggedIn=false
window.logixProjectId=undefined
window.restrictedElements=[]
window.globalScope=undefined
window.lightMode=false// To be deprecated
window.projectId=undefined
window.id=undefined
window.loading=false// Flag - all assets are loaded
window.embed=false
window.width=undefined
window.height=undefined
window.DPR=window.devicePixelRatio||1// devicePixelRatio, 2 for retina displays, 1 for low resolution displays
window.elementHierarchy=[]