mirror of
https://github.com/penpot/penpot.git
synced 2025-06-30 19:46:59 +02:00
Add externs for interop calls and enable advanced compilation.
This commit is contained in:
parent
7e8730c26e
commit
aeff49b3e6
2 changed files with 32 additions and 1 deletions
29
resources/externs/main.js
Normal file
29
resources/externs/main.js
Normal file
|
@ -0,0 +1,29 @@
|
|||
var TopLevel = {
|
||||
"offsetX": function() {},
|
||||
"offsetY": function() {},
|
||||
"nativeEvent": function() {},
|
||||
"target": function() {},
|
||||
"dataTransfer": function() {},
|
||||
"dropEffect": function() {},
|
||||
"value": function() {},
|
||||
"offsetHeight": function() {},
|
||||
"offsetWidth": function() {},
|
||||
"scrollTop": function() {},
|
||||
"scrollLeft": function() {},
|
||||
"refs": function() {},
|
||||
"ctrlKey": function() {},
|
||||
"shiftKey": function() {},
|
||||
"keyCode": function() {},
|
||||
"currentTarget": function() {},
|
||||
"createObjectURL": function() {},
|
||||
"URL": function() {},
|
||||
"innerHTML": function() {},
|
||||
"getElementById": function() {},
|
||||
"clientX": function() {},
|
||||
"clientY": function() {},
|
||||
"href": function() {},
|
||||
"value": function() {},
|
||||
"identifier": function() {},
|
||||
"getBoundingClientRect": function() {},
|
||||
"getBBox": function() {}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue