NAME
$ — find one element of the page by a CSS selector
SYNOPSIS
$(s)
DESCRIPTION
A short name for document.querySelector, used throughout the app's script, which lives in one closure so that nothing leaks into the page's global names.
PARAMETERS
s: a CSS selector, such as "#play" or "#lines .line".
RETURN VALUE
The first element that matches, or null.
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
