From bd38ea590a5828f31205995c33b20106f331a6db Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 24 Oct 2016 22:10:05 +0200 Subject: [PATCH] Add missing entries in main externs file. --- resources/externs/main.js | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/resources/externs/main.js b/resources/externs/main.js index 1e3d5eb8c..b8422407f 100644 --- a/resources/externs/main.js +++ b/resources/externs/main.js @@ -28,5 +28,28 @@ var TopLevel = { "getBBox": function() {}, "addEventListener": function() {}, "postMessage": function() {}, - "data": function() {} + "data": function() {}, + "querySelector": function() {}, + "outerHTML": function() {}, + "tagName": function() {}, + "appendChild": function() {}, + "createElement": function() {}, + "createElementNS": function() {}, + "viewBox": function() {}, + "baseVal": function() {}, + "x": function() {}, + "y": function() {}, + "width": function() {}, + "height": function() {}, + "type": function() {}, + "stopPropagation": function() {}, + "preventDefault": function() {}, + "innerText": function() {}, + "target": function() {}, + "value": function() {}, + "click": function() {}, + "result": function() {}, + "readAsText": function() {}, + "src": function() {}, + "readAsDataURL": function() {} };