This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
js-lookup-database.el
180 lines (165 loc) · 8.62 KB
/
js-lookup-database.el
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
;;; js-lookup-database.el --- URL database for js-lookup
;; This is free and unencumbered software released into the public domain.
;;; Commentary:
;; The s-expression below maps JavaScript concepts to URLs on the
;; Mozilla Developer Network (MDN) wiki.
;;; Code:
(require 'js-lookup)
(js-lookup/root "https://developer.mozilla.org/en-US/docs/"
(js-lookup/root "JavaScript/Reference/"
;; Global Objects
(js-lookup/root "Global_Objects/"
(js-lookup/category Array
concat constructor create every filter forEach indexOf join
lastIndexOf length map pop push reduce reduceRight reverse shift
slice some sort splice toString unshift)
(js-lookup/category Boolean
constructor toString valueOf)
(js-lookup/category Date
constructor getDate getDay getFullYear getHours getMilliseconds
getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate
getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes
getUTCMonth getUTCSeconds getYear setDate setFullYear setHours
setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate
setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth
setUTCSeconds setYear toDateString toGMTString toISOString toJSON
toLocaleDateString toLocaleString toLocaleTimeString toString
toTimeString toUTCString valueOf)
(js-lookup/category Function
apply arguments bind call caller constructor length name toString)
(js-lookup/category Number
constructor toExponential toFixed toLocaleString toPrecision toString
valueOf)
(js-lookup/category Object
__defineGetter__ __defineSetter__ __lookupGetter__ __lookupSetter__
constructor hasOwnProperty isPrototypeOf propertyIsEnumerable
toLocaleString toString valueOf)
(js-lookup/category RegExp
constructor exec global ignoreCase lastIndex multiline source test
toString)
(js-lookup/category String
anchor big blink bold charAt charCodeAt concat constructor fixed
fontcolor fontsize indexOf italics lastIndexOf length link
localeCompare match replace search slice small split strike sub substr
substring sup toLocaleLowerCase toLocaleUpperCase toLowerCase toString
toUpperCase trim trimLeft trimRight valueOf)
;; Error Objects
(js-lookup/category Error
constructor message name toString)
(js-lookup/category EvalError)
(js-lookup/category RangeError)
(js-lookup/category ReferenceError)
(js-lookup/category SyntaxError)
(js-lookup/category TypeError)
(js-lookup/category URIError)
;; Other Objects
(js-lookup/category Infinity
NEGATIVE_INFINITY POSITIVE_INFINITY)
(js-lookup/category JSON
parse stringify)
(js-lookup/category Math
E LN10 LN2 LOG10E LOG2E PI SQRT1_2 SQRT2 abs acos asin atan atan2 ceil
cos exp floor log max min pow random round sin sqrt tan)
(js-lookup/category NaN)
(js-lookup/category undefined)
;; Non-contructor Functions
(js-lookup/category decodeURI)
(js-lookup/category decodeURIComponent)
(js-lookup/category encodeURI)
(js-lookup/category encodeURIComponent)
(js-lookup/category eval)
(js-lookup/category isFinite)
(js-lookup/category isNaN)
(js-lookup/category parseFloat)
(js-lookup/category parseInt))
;; Functions and Scope
(js-lookup/root "Functions_and_function_scope/"
(js-lookup/category arguments
callee caller length)))
;; Typed Arrays -- this section on MDN is mostly empty
(js-lookup/root "JavaScript_typed_arrays/"
(js-lookup/category ArrayBuffer)
(js-lookup/category DataView)
(js-lookup/category Float32Array)
(js-lookup/category Float64Array)
(js-lookup/category Int16Array)
(js-lookup/category Int32Array)
(js-lookup/category Int8Array)
(js-lookup/category Uint16Array)
(js-lookup/category Uint32Array)
(js-lookup/category Uint8Array)
(js-lookup/category Uint8ClampedArray))
;; Events
(js-lookup/root "Mozilla_event_reference/"
(js-lookup/entries
SVGAbort SVGError SVGLoad SVGResize SVGScroll SVGUnload SVGZoom abort
afterprint animationend animationiteration animationstart beforeprint
beforeunload beginEvent blocked blur cached canplay canplaythrough
change chargingchange chargingtimechange checking click close
compassneedscalibration complete compositionend compositionupdate
compositonstart contextmenu copy cut dblclick devicehumidity devicelight
devicemotion devicenoise deviceorientation devicepressure
deviceproximity devicetemperature dischargingtimechange downloading
drag dragend dragenter dragleave dragover dragstart drop durationchange
emptied endEvent ended error focus focusin focusout fullscreenchange
fullscreenerror gamepadconnected gamepaddisconnected hashchange input
invalid keydown keypress keyup levelchange load loadeddata
loadedmetadata loadend loadstart mousedown mouseenter mouseleave
mousemove mouseout mouseover mouseup noupdate obsolete offline
onalerting onbusy oncallschanged onconnected onconnecting ondelivered
ondialing ondisconnected ondisconnecting onerror onheld onholding
onincoming online onreceived onresuming onsent onstatechange open
orientationchange pagehide pageshow paste pause play playing
pointerlockchange pointerlockerror popstate progress ratechange
readystatechange repeatEvent reset resize scroll seeked seeking select
show stalled storage submit success suspend timeupdate touchcancel
touchend touchenter touchleave touchmove touchstart transitionend
unload updateready upgradeneeded userproximity versionchange
visibilitychange volumechange waiting wheel))
;; DOM
(js-lookup/root "DOM/"
(let ((js-lookup-path-seperator "."))
(js-lookup/category document
URL activeElement alinkColor all anchors applets attributes baseURI
bgColor body characterSet charset childNodes compatMode cookie
defaultCharset defaultView designMode dir doctype documentElement
documentURI domain embeds fgColor firstChild forms head height images
implementation inputEncoding lastChild lastModified linkColor links
localName location namespaceURI nextSibling nodeName nodeType nodeValue
ownerDocument parentElement parentNode plugins preferredStylesheetSet
prefix previousSibling readyState referrer scripts
selectedStylesheetSet styleSheets textContent title vlinkColor
width xmlEncoding xmlStandalone xmlVersion)
(js-lookup/category Node
appendChild attributes baseURI childNodes cloneNode
compareDocumentPosition contains firstChild getUserData
hasAttributes hasChildNodes insertBefore isDefaultNamespace
isEqualNode isSameNode isSupported lastChild localName
lookupNamespaceURI lookupPrefix namespaceURI nextSibling nodeName
nodePrincipal nodeType nodeValue normalize ownerDocument
parentElement parentNode prefix previousSibling removeChild
replaceChild setUserData textContent)
(js-lookup/category element
aLink accessKey attributes background baseURI bgColor
childElementCount childNodes children classList className
clientHeight clientLeft clientTop clientWidth contentEditable
dataset dir draggable firstChild firstElementChild hidden id
innerHTML innerText isContentEditable lang lastChild
lastElementChild link localName namespaceURI nextElementSibling
nextSibling nodeName nodeType nodeValue offsetHeight offsetLeft
offsetParent offsetTop offsetWidth onabort onbeforecopy onbeforecut
onbeforepaste onbeforeunload onblur onchange onclick oncontextmenu
oncopy oncut ondblclick ondrag ondragend ondragenter ondragleave
ondragover ondragstart ondrop onerror onfocus onhashchange oninput
oninvalid onkeydown onkeypress onkeyup onload onmessage onmousedown
onmousemove onmouseout onmouseover onmouseup onmousewheel onoffline
ononline onpaste onpopstate onreset onresize onscroll onsearch
onselect onselectstart onstorage onsubmit onunload outerHTML
outerText ownerDocument parentElement parentNode prefix
previousElementSibling previousSibling scrollHeight scrollLeft
scrollTop scrollWidth spellcheck style tabIndex tagName text
textContent title translate vLink)
(js-lookup/category console
debug dir error group groupCollapsed groupEnd info log time timeEnd
trace warn))))
;;; js-lookup-database.el ends here