+
-
configure
, make
, make
install
: a good UNIX skill to have$()
, $F()
, or any utility.$w('one two three')
is an array ['one',
'two', 'three']
$A()
converts arguments to an array (very
magic!)$H()
converts arguments into a hash$R(low, high)
creates a range{ field1: value1,
field2: value2, ... }
valueI
is a function,
this
refers to the current
object.variable.fieldI
or
variable.fieldI()
fieldI
s.down('CSS selector', index)
next('CSS selector', index)
previous('CSS selector',
index)
up('CSS selector', index)
cleanWhitespace()
remove()
replace(HTML content)
(replaces
element)update(HTML content)
(replaces content of
element)element.observe(eventName,
observer)
toggle
element
a Prototyped DOM elementeventName
a string naming the eventobserver
a function to be executed for
the event toggle
function () { ... }
function (event) { ... }
Event
object?) © 2007 Calvin College and Jeremy D.
Frens.
This work is licensed under a Creative
Commons Attribution-Noncommercial-Share Alike 3.0 United States
License.