Add externs for interop calls and enable advanced compilation.

This commit is contained in:
Andrey Antukh 2016-04-02 23:17:52 +03:00
parent 7e8730c26e
commit aeff49b3e6
2 changed files with 32 additions and 1 deletions

29
resources/externs/main.js Normal file
View 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() {}
};