Skip to content

Instantly share code, notes, and snippets.

@namikister
Created June 22, 2011 15:59
Show Gist options
  • Save namikister/1040424 to your computer and use it in GitHub Desktop.
Save namikister/1040424 to your computer and use it in GitHub Desktop.
JavaScript dictionary for auto-complete-mode
;; JavaScript dictionary for auto-complete-mode
;; This file is originally from http://xyzzy.s53.xrea.com/wiki/index.php
;; Reserved words of JavaScript 1.5
abstract
boolean
break
byte
case
catch
char
class
const
continue
debugger
default
delete
do
double
else
enum
export
extends
false
final
finally
float
for
function
goto
if
implements
import
in
instanceof
int
interface
long
native
new
null
package
private
protected
public
return
short
static
super
switch
synchronized
this
throw
throws
transient
true
try
typeof
var
void
volatile
while
with
;; ==== properties and methods of global object (or Objects themselves) ====
;*1
Array
Date
Infinity
Math
NaN
Number
Packages
prototype
RegExp
String
undefined
decordURI
decordURIComponent
encodeURI
encodeURIComponent
eval
isFinite
isNaN
parseFloat
parseInt
;; ==== picked-up ====
UTC
alert
charAt
charCodeAt
confirm
concat
document
exec
getDate
getDay
getFullYear
getHours
getMilliseconds
getMinutes
getMonth
getSeconds
getTime
getTimezoneOffset
getUTCDate
getUTCDay
getUTCFullYear
getUTCHours
getUTCMilliseconds
getUTCMinutes
getUTCMonth
getUTCSeconds
getYear
indexOf
join
lastIndexOf
match
navigator
parse
pop
prompt
push
replace
reverse
search
setDate
setFullYear
setHours
setMilliseconds
setMinutes
setMonth
setSeconds
setTime
setUTCDate
setUTCFullYear
setUTCHours
setUTCMilliseconds
setUTCMinutes
setUTCMonth
setUTCSeconds
setYear
shift
slice
sort
splice
split
substr
substring
toFixed
toGMTString
toLocaleString
toLowerCase
toString
toUTCString
toUpperCase
unshift
valueOf
window
;; ==== DOM-2 Properties and Methods ====
;*1
hasFeature
createDocumentType
createDocument
doctype
implementation
documentElement
createElement
createDocumentFragment
createTextNode
createComment
createCDATASection
createProcessingInstruction
createAttribute
createEntityReference
importNode
createElementNS
createAttributeNS
getElementsByTagName
getElementsByClassName
getElementsByTagNameNS
getElementById
querySelector
querySelectorAll
nodeName
nodeValue
nodeType
parentNode
childNodes
firstChild
lastChild
previousSibling
nextSibling
attributes
ownerDocument
namespaceURI
prefix
localName
insertBefore
replaceChild
removeChild
appendChild
hasChildNodes
cloneNode
normalize
isSupported
hasAttributes
length
item
getNamedItem
setNamedItem
removeNamedItem
getNamedItemNS
setNamedItemNS
removeNamedItemNS
data
substringData
appendData
insertData
deleteData
replaceData
name
specified
value
ownerElement
tagName
getAttribute
setAttribute
removeAttribute
getAttributeNode
setAttributeNode
removeAttributeNode
getAttributeNS
setAttributeNS
removeAttributeNS
getAttributeNodeNS
setAttributeNodeNS
hasAttribute
hasAttributeNS
splitText
target
;; ==== popular methods of DOM-2-Events ====
attachEvent
detachEvent
addEventListener
removeEventListener
createEvent
;; ==== DOM-CSS-2 properties ====
;*2
style
styleSheets
cssRules
cssText
insertRule
deleteRule
azimuth
background
backgroundAttachment
backgroundColor
backgroundImage
backgroundPosition
backgroundRepeat
border
borderCollapse
borderColor
borderSpacing
borderStyle
borderTop
borderRight
borderBottom
borderLeft
borderTopColor
borderRightColor
borderBottomColor
borderLeftColor
borderTopStyle
borderRightStyle
borderBottomStyle
borderLeftStyle
borderTopWidth
borderRightWidth
borderBottomWidth
borderLeftWidth
borderWidth
bottom
captionSide
clear
clip
color
content
counterIncrement
counterReset
cue
cueAfter
cueBefore
cursor
direction
display
elevation
emptyCells
cssFloat
font
fontFamily
fontSize
fontSizeAdjust
fontStretch
fontStyle
fontVariant
fontWeight
height
left
letterSpacing
lineHeight
listStyle
listStyleImage
listStylePosition
listStyleType
margin
marginTop
marginRight
marginBottom
marginLeft
markerOffset
marks
maxHeight
maxWidth
minHeight
minWidth
orphans
outline
outlineColor
outlineStyle
outlineWidth
overflow
padding
paddingTop
paddingRight
paddingBottom
paddingLeft
page
pageBreakAfter
pageBreakBefore
pageBreakInside
pause
pauseAfter
pauseBefore
pitch
pitchRange
playDuring
position
quotes
richness
right
size
speak
speakHeader
speakNumeral
speakPunctuation
speechRate
stress
tableLayout
textAlign
textDecoration
textIndent
textShadow
textTransform
top
unicodeBidi
verticalAlign
visibility
voiceFamily
volume
whiteSpace
widows
width
wordSpacing
zIndex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment