emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/js2-mode 5049e54 43/61: Merge pull request #556 from Ar


From: Dmitry Gutov
Subject: [elpa] externals/js2-mode 5049e54 43/61: Merge pull request #556 from ArneBab/browser-symbols
Date: Sun, 20 Dec 2020 12:20:08 -0500 (EST)

branch: externals/js2-mode
commit 5049e543b52099e6ea3e9bc915fc023d5a9b2644
Merge: a6e1305 3afdc05
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: GitHub <noreply@github.com>

    Merge pull request #556 from ArneBab/browser-symbols
    
    add missing symbols for browser
---
 js2-mode.el | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/js2-mode.el b/js2-mode.el
index 924bc03..8b91723 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -161,6 +161,21 @@
             window alert confirm document java navigator prompt screen
             self top requestAnimationFrame cancelAnimationFrame
 
+            ;; Window or WorkerGlobalScope with support in Chromium and 
Firefox:
+            ;; 
https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope
+            ;; properties
+            caches indexedDB isSecureContext origin
+            ;; methods
+            atob btoa clearInterval clearTimeout
+            createImageBitmap fetch queueMicrotask setInterval
+            setTimeout
+
+            ;; from jslint "browser"
+            history location
+
+            ;; HTML element constructors
+            Audio Image Option
+
             ;; W3C CSS
             CSSCharsetRule CSSFontFace CSSFontFaceRule
             CSSImportRule CSSMediaRule CSSPageRule



reply via email to

[Prev in Thread] Current Thread [Next in Thread]