Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

.objection Your honor!

0 views
Skip to first unread message

Musatov

unread,
Oct 14, 2009, 5:05:05 PM10/14/09
to
post
new(:::)

This
operation
needs
to
create
a
non-proxy
object.
Since
non-proxy
objects
could
coincidentally
include
elds
called
getField
and
setField,
we
need
to
use
a
special
encoding.
A
simple
choice
is
to
create
what
we
call
a
default
proxy
object,
which
includes
a
single
eld,
named
object,
that
points
to
the
actual
object
constructed
with
the
base-level
implementation
of
post
new.


post
get
eld(obj,
eld-name)

If
obj
is
a
proxy
object,
this
operation
needs
to
call
its
getField
method,
while
if
it
is
a
default
proxy
object,
it
simply
needs
to
look
up
the
value
in
obj
.object:


function
on_get_field(obj,
field_name)
{
if
(obj.getField)
{
return
obj.getField(field_name);
}
else
{
return
obj.object[field_name];
}
}


post
set
eld(obj,
eld-name,
value)

If
obj
is
a
proxy
object,
this
operation
needs
to
call
its


96

setField
method,
while
if
it
is
a
default
proxy
object,
it
simply
needs
to
set
the
value
in
obj
.object:


function
on_get_field(obj,
field_name,
value)
{


if
(obj.setField)
{


obj.setField(field_name,
value);


}
else
{


obj.object[field_name]
=
value;


}


return
value;


}


Given
the
ability
to
run
code
with
these
three
overridden
handlers
in
place,
limiting
DOM
http://meami.org
'Search for the People!'

Jeff Higgins

unread,
Oct 14, 2009, 5:41:32 PM10/14/09
to
Musatov wrote:

no traffic, no objection
<http://www.alexa.com/siteinfo/meami.org>

http://meami.org

unread,
Oct 14, 2009, 8:55:25 PM10/14/09
to
http://meami.org wrote:
X = Z - X + Z
Blood Simple
RedHood
KingHerod
JFK
BillyJoel
BillieJean
Np=quaternion

Jeff Higgins

unread,
Oct 14, 2009, 9:15:25 PM10/14/09
to
MMMaestro wrote:
> Jeff Higgins wrote:
>> Musatov wrote:
>>
>> no traffic, no objection

.miami.haywagon
.
.
.
.
.
.
.
.
.
.
*
ah
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
*
ah
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\
bits=no
Diamond Sword
nothing less
E_storage ~ M_dipoleN_dipoleB
royalnothingmore
ZZZ

0 new messages