Slide 69
Slide 69 text
it also helps reflect a different use
F
r
m
w
r
k
.
O
b
j
e
c
t = f
u
n
c
t
i
o
n ( o
b
j ) {
$
.
e
x
t
e
n
d
( t
r
u
e
, t
h
i
s
, {
s
e
l
: "
b
o
d
y
"
,
d
a
t
a
: {
}
,
e
n
d
p
o
i
n
t
: n
u
l
l
,
e
v
e
n
t
s
: {
}
,
s
t
a
t
e
s
: {
}
,
_
c
u
r
r
e
n
t
S
t
a
t
e
: "
_
d
e
f
a
u
l
t
"
,
t
m
p
l
s
: {
}
}
, o
b
j )
;
i
f ( t
h
i
s
.
s
e
l ) {
t
h
i
s
.
e
l = $
( t
h
i
s
.
s
e
l )
;
}
i
f ( t
h
i
s
.
t
m
p
l
s ) {
f
o
r
( v
a
r t i
n t
h
i
s
.
t
m
p
l
s ) {
_
r
e
g
i
s
t
e
r
T
m
p
l
( t
, t
h
i
s
.
t
m
p
l
s
[ t ] )
;
}