Options:
- # Session Start: Sat Sep 17 00:00:01 2011
- # Session Ident: #whatwg
- # [00:00] * Quits: othermaciej (~mjs@17.245.21.43) (Quit: othermaciej)
- # [00:01] * Quits: jarek_ (~jarek@bdf101.neoplus.adsl.tpnet.pl) (Ping timeout: 260 seconds)
- # [00:01] * Joins: _bga (~bga@ppp78-37-248-91.pppoe.avangarddsl.ru)
- # [00:01] * Quits: bga_ (~bga@ppp78-37-248-91.pppoe.avangarddsl.ru) (Ping timeout: 276 seconds)
- # [00:05] * Joins: Rik`_ (~Rik`@216.1.177.180)
- # [00:05] * Quits: Rik` (~Rik`@216.1.177.180) (Read error: Connection reset by peer)
- # [00:06] * Joins: Rik` (~Rik`@216.1.177.180)
- # [00:06] * Quits: Rik`_ (~Rik`@216.1.177.180) (Read error: Connection reset by peer)
- # [00:08] <AryehGregor> scheib, try asking on a mailing list. It seems no one is around right now, probably because it's Friday afternoon.
- # [00:10] * Quits: hij1nx_ (~hij1nx@207.239.107.3) (Quit: hij1nx_)
- # [00:10] * Quits: Rik` (~Rik`@216.1.177.180) (Read error: Connection reset by peer)
- # [00:10] * Joins: Rik` (~Rik`@216.1.177.180)
- # [00:11] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [00:14] * Joins: bga_ (~bga@ppp78-37-248-91.pppoe.avangarddsl.ru)
- # [00:14] * Quits: _bga (~bga@ppp78-37-248-91.pppoe.avangarddsl.ru) (Read error: Connection reset by peer)
- # [00:19] * Quits: rillian (~rillian@12.104.145.72) (Remote host closed the connection)
- # [00:20] <Hixie> is anyone who cares about acid3 around? i have an update available for review.
- # [00:23] * Joins: rillian (~rillian@216.1.177.180)
- # [00:24] <smaug____> yes
- # [00:34] * Quits: ap (~ap@17.212.155.203) (Quit: ap)
- # [00:34] * Quits: boaz (~boaz@li326-230.members.linode.com) (Excess Flood)
- # [00:35] * Joins: boaz (~boaz@li326-230.members.linode.com)
- # [00:35] * Joins: weinig_ (~weinig@17.245.90.54)
- # [00:36] * Joins: ap (~ap@17.245.91.215)
- # [00:36] * Quits: ap (~ap@17.245.91.215) (Client Quit)
- # [00:37] * Quits: weinig (~weinig@17.212.155.228) (Ping timeout: 260 seconds)
- # [00:37] * Quits: Amorphous (jan@unaffiliated/amorphous) (Ping timeout: 260 seconds)
- # [00:37] * weinig_ is now known as weinig
- # [00:39] * Quits: weinig (~weinig@17.245.90.54) (Client Quit)
- # [00:46] * Quits: jarek (~jarek@unaffiliated/jarek) (Quit: jarek)
- # [00:51] * Joins: Amorphous (jan@unaffiliated/amorphous)
- # [00:53] * Quits: Rik` (~Rik`@216.1.177.180) (Read error: Connection reset by peer)
- # [00:53] * Joins: Rik`_ (~Rik`@216.1.177.180)
- # [00:57] * Joins: othermaciej (~mjs@17.245.89.202)
- # [00:58] * Quits: erlehmann (~erlehmann@89.204.153.104) (Quit: Ex-Chat)
- # [00:59] * Quits: Rik`_ (~Rik`@216.1.177.180) (Read error: Connection reset by peer)
- # [00:59] * Quits: jamesr (jamesr@nat/google/x-gmqfmhgdvxckmctl) (Ping timeout: 244 seconds)
- # [00:59] * bga_ is now known as bga_|away
- # [01:00] * Joins: Rik` (~Rik`@216.1.177.180)
- # [01:00] * Joins: roc (~chatzilla@216.1.177.180)
- # [01:03] * Joins: jamesr (jamesr@nat/google/x-ekkoskcnyahtjmmx)
- # [01:05] * Quits: roc (~chatzilla@216.1.177.180) (Ping timeout: 260 seconds)
- # [01:10] * Quits: Rik` (~Rik`@216.1.177.180) (Read error: Connection reset by peer)
- # [01:12] * Joins: Rik` (~Rik`@216.1.177.180)
- # [01:13] * Joins: J_Voracek (~J_Voracek@71.21.195.70)
- # [01:14] * Quits: AlexNRoss (~AleossIRC@unaffiliated/aleoss) (Quit: We love you, Dark Continent! Good night!)
- # [01:14] * Joins: weinig (~weinig@17.212.155.228)
- # [01:20] * Quits: J_Voracek (~J_Voracek@71.21.195.70) (Quit: disconnected: Jace Voracek - Jace@Jace-Place.com)
- # [01:22] * Quits: Rik` (~Rik`@216.1.177.180) (Read error: Connection reset by peer)
- # [01:22] * Joins: Rik` (~Rik`@216.1.177.180)
- # [01:25] * Joins: shans_ (~shanestep@124-168-157-252.dyn.iinet.net.au)
- # [01:28] * Quits: shans (~shanestep@113.197.106.249) (Ping timeout: 260 seconds)
- # [01:28] * shans_ is now known as shans
- # [01:29] * Joins: stefan-_ (~music@wall.wi2.uni-trier.de)
- # [01:29] * Joins: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi)
- # [01:31] * Joins: ap (~ap@2620:149:4:1b01:4910:7603:f3f2:4cd5)
- # [01:33] * Quits: othermaciej (~mjs@17.245.89.202) (Quit: othermaciej)
- # [01:34] * Quits: FireFly (~firefly@unaffiliated/firefly) (Quit: FireFly)
- # [01:35] * Joins: othermaciej (~mjs@17.245.89.202)
- # [01:36] * Quits: ojan (ojan@nat/google/x-geylgaysdykbyhud) (Quit: ojan)
- # [01:38] * Joins: benjoffe (~benjoffe_@r49-2-10-185.cpe.vividwireless.net.au)
- # [01:42] * Joins: nonge (~nonge@p5B326431.dip.t-dialin.net)
- # [01:45] * Quits: rillian (~rillian@216.1.177.180) (Remote host closed the connection)
- # [01:53] * Joins: KillerX (~anant@216.1.177.180)
- # [01:54] * Quits: KillerX (~anant@216.1.177.180) (Client Quit)
- # [01:57] * Quits: hasather_ (~hasather_@84.38.144.96) (Remote host closed the connection)
- # [02:04] * Quits: shans (~shanestep@124-168-157-252.dyn.iinet.net.au) (Ping timeout: 260 seconds)
- # [02:09] * Quits: stefan-_ (~music@wall.wi2.uni-trier.de) (Remote host closed the connection)
- # [02:10] * Quits: othermaciej (~mjs@17.245.89.202) (Quit: othermaciej)
- # [02:11] * Joins: othermaciej (~mjs@17.245.89.202)
- # [02:17] * Quits: othermaciej (~mjs@17.245.89.202) (Quit: othermaciej)
- # [02:17] * Quits: astearns (~anonymous@192.150.22.5) (Ping timeout: 252 seconds)
- # [02:18] * Joins: hasather_ (~hasather_@84.38.144.96)
- # [02:19] * Quits: connrs (~connrs@conners.plus.com) (Ping timeout: 260 seconds)
- # [02:20] * Quits: scheib (scheib@nat/google/x-dhfkeshxjbvihnxe) (Quit: Leaving.)
- # [02:21] * Joins: othermaciej (~mjs@17.245.89.202)
- # [02:22] * Quits: hasather_ (~hasather_@84.38.144.96) (Ping timeout: 276 seconds)
- # [02:22] * Joins: rillian (~rillian@216.1.177.180)
- # [02:25] * Quits: aho (~nya@fuld-590c73d1.pool.mediaWays.net) (Quit: EXEC_over.METHOD_SUBLIMATION)
- # [02:27] * Quits: jamesr (jamesr@nat/google/x-ekkoskcnyahtjmmx) (Ping timeout: 244 seconds)
- # [02:28] * Quits: rillian (~rillian@216.1.177.180) (Remote host closed the connection)
- # [02:31] * Quits: ap (~ap@2620:149:4:1b01:4910:7603:f3f2:4cd5) (Quit: ap)
- # [02:31] * Joins: shans (~shanestep@124-168-157-252.dyn.iinet.net.au)
- # [02:33] * Joins: rillian (~rillian@12.104.145.72)
- # [02:34] * Quits: Rik` (~Rik`@216.1.177.180) (Remote host closed the connection)
- # [02:38] * Quits: othermaciej (~mjs@17.245.89.202) (Quit: othermaciej)
- # [02:38] * Quits: rillian (~rillian@12.104.145.72) (Ping timeout: 260 seconds)
- # [02:39] * Quits: charlvn (~charlvn@41.0.48.54) (Read error: Connection reset by peer)
- # [02:45] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Quit: davidwalsh)
- # [02:50] * Joins: Rik` (~Rik`@12.104.145.50)
- # [02:50] * Quits: annacc (Adium@nat/google/x-odtxufusobikkknr) (Quit: Leaving.)
- # [02:52] * Joins: shinyak (~shinyak@p005148.dynamic.ppp.asahi-net.or.jp)
- # [02:53] * Quits: shinyak (~shinyak@p005148.dynamic.ppp.asahi-net.or.jp) (Remote host closed the connection)
- # [02:56] * Quits: kennyluck (~kennyluck@119.57.31.100) (Quit: kennyluck)
- # [03:00] * Joins: hasather_ (~hasather_@84.38.144.96)
- # [03:04] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
- # [03:04] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Client Quit)
- # [03:05] * Parts: bezoar (~Adium@c-24-143-67-135.customer.broadstripe.net)
- # [03:05] * Quits: hasather_ (~hasather_@84.38.144.96) (Ping timeout: 260 seconds)
- # [03:10] * Quits: MikeSmith (~MikeSmith@EM1-113-100-112.pool.e-mobile.ne.jp) (Ping timeout: 260 seconds)
- # [03:10] * Quits: smaug____ (~chatzilla@216.1.177.180) (Ping timeout: 258 seconds)
- # [03:14] * Joins: MikeSmith (~MikeSmith@EM114-48-225-218.pool.e-mobile.ne.jp)
- # [03:16] * Quits: nessy (~Adium@216.239.45.21) (Quit: Leaving.)
- # [03:27] * Joins: smaug____ (~chatzilla@12.104.145.50)
- # [03:28] * Joins: weinig_ (~weinig@17.245.90.54)
- # [03:32] * Quits: micheil (~micheil@195.24.233.121) (Read error: Connection reset by peer)
- # [03:32] * Quits: weinig (~weinig@17.212.155.228) (Ping timeout: 258 seconds)
- # [03:32] * weinig_ is now known as weinig
- # [03:35] * Joins: micheil (~micheil@195.24.233.121)
- # [03:35] * Joins: hij1nx (~hij1nx@cpe-98-14-168-178.nyc.res.rr.com)
- # [03:38] * Quits: benjoffe (~benjoffe_@r49-2-10-185.cpe.vividwireless.net.au) (Remote host closed the connection)
- # [03:40] * Quits: dave_levin (dave_levin@nat/google/x-kdsupkomhnbavlbd) (Quit: dave_levin)
- # [03:43] * Joins: hasather_ (~hasather_@84.38.144.96)
- # [03:46] * Joins: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au)
- # [03:46] * Quits: bga_|away (~bga@ppp78-37-248-91.pppoe.avangarddsl.ru) (Read error: Connection reset by peer)
- # [03:47] * Quits: hasather_ (~hasather_@84.38.144.96) (Ping timeout: 240 seconds)
- # [03:51] * Joins: benjoffe (~benjoffe_@r49-2-10-185.cpe.vividwireless.net.au)
- # [03:54] * Joins: astearns (~anonymous@c-50-132-9-217.hsd1.wa.comcast.net)
- # [03:59] * Quits: weinig (~weinig@17.245.90.54) (Quit: weinig)
- # [04:00] * Joins: hij1nx__ (~hij1nx@cpe-98-14-168-178.nyc.res.rr.com)
- # [04:02] * Joins: lumely_ (~lumely@dhcp2-228.slis.tsukuba.ac.jp)
- # [04:04] * Joins: hendry_ (~hendry@212.13.195.83)
- # [04:04] * Joins: payman (~payman@pat.se.opera.com)
- # [04:04] * Quits: rniwa (rniwa@nat/google/x-swpmmbtbqzhilyhm) (Quit: rniwa)
- # [04:05] * Joins: [tm]_ (~MikeSmith@sideshowbarker.net)
- # [04:05] * Joins: rniwa (rniwa@nat/google/x-eaqjcuyzmlgtnvix)
- # [04:05] * Quits: lumely (~lumely@dhcp2-228.slis.tsukuba.ac.jp) (Ping timeout: 260 seconds)
- # [04:05] * Quits: hij1nx (~hij1nx@cpe-98-14-168-178.nyc.res.rr.com) (Ping timeout: 260 seconds)
- # [04:05] * Quits: hendry (~hendry@212.13.195.83) (Ping timeout: 260 seconds)
- # [04:05] * Quits: Philip` (~philip@zaynar.co.uk) (Ping timeout: 260 seconds)
- # [04:05] * Quits: payman_ (~payman@pat.se.opera.com) (Ping timeout: 260 seconds)
- # [04:05] * hij1nx__ is now known as hij1nx
- # [04:05] * Quits: [tm] (~MikeSmith@sideshowbarker.net) (Ping timeout: 260 seconds)
- # [04:05] * Quits: volkmar (~volkmar@gentoo/developer/volkmar) (Ping timeout: 260 seconds)
- # [04:05] * Joins: Philip` (~philip@zaynar.co.uk)
- # [04:05] * Quits: beowulf (u116@pdpc/supporter/professional/beowulf) (Excess Flood)
- # [04:05] * Joins: volkmar (~volkmar@rps1542.ovh.net)
- # [04:05] * Quits: volkmar (~volkmar@rps1542.ovh.net) (Changing host)
- # [04:05] * Joins: volkmar (~volkmar@gentoo/developer/volkmar)
- # [04:08] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
- # [04:09] <zewt> holy hell
- # [04:09] <zewt> opera stole my .ogg file extension
- # [04:10] <zewt> i thought the 90s file association wars were over :(
- # [04:11] <smaug____> nowadays it is usually more like "default browser" war
- # [04:11] <zewt> opera just landed dangerously close to quicktime in my mental software quality map
- # [04:12] * Joins: beowulf_ (u116@gateway/web/irccloud.com/x-jydpznrzkjrexzdw)
- # [04:17] * Quits: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net) (Quit: othermaciej)
- # [04:18] <zewt> maybe foobar forgot to grab it to begin with? dunno, very bizarre in any case (dear opera: you're a browser)
- # [04:29] * Quits: rniwa (rniwa@nat/google/x-eaqjcuyzmlgtnvix) (Quit: rniwa)
- # [04:32] * Joins: agektmr (~Adium@p4017-ipbf2207marunouchi.tokyo.ocn.ne.jp)
- # [04:39] * Joins: connrs (~connrs@conners.plus.com)
- # [04:47] * Joins: weinig (~weinig@17.212.155.228)
- # [04:49] * Joins: AlexNRoss (~AleossIRC@unaffiliated/aleoss)
- # [05:19] * Quits: agektmr (~Adium@p4017-ipbf2207marunouchi.tokyo.ocn.ne.jp) (Quit: Leaving.)
- # [05:21] * Joins: shetech (~shetech@c-76-126-167-49.hsd1.ca.comcast.net)
- # [05:22] * Quits: weinig (~weinig@17.212.155.228) (Quit: weinig)
- # [05:33] * Joins: myakura (~myakura@FL1-203-136-181-177.tky.mesh.ad.jp)
- # [05:41] * Joins: rniwa (~rniwa@216.239.45.130)
- # [05:43] * Quits: ZombieLoffe (ZombieLoff@unaffiliated/zombieloffe)
- # [05:46] * Quits: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net) (Remote host closed the connection)
- # [05:47] * Joins: nonge_ (~nonge@p50829391.dip.t-dialin.net)
- # [05:51] * Joins: janv__ (~varga@dyna-ip-195-91-81-147.flarion.as5628.telecom.sk)
- # [05:51] * Quits: nonge (~nonge@p5B326431.dip.t-dialin.net) (Ping timeout: 260 seconds)
- # [05:59] * Quits: ezoe (~ezoe@203-140-92-68f1.kyt1.eonet.ne.jp) (Ping timeout: 252 seconds)
- # [06:23] * Quits: smaug____ (~chatzilla@12.104.145.50) (Quit: Reconnecting…)
- # [06:23] * Joins: smaug____ (~chatzilla@12.104.145.50)
- # [06:36] * Quits: myakura (~myakura@FL1-203-136-181-177.tky.mesh.ad.jp) (Remote host closed the connection)
- # [06:36] * Joins: weinig (~weinig@c-24-130-56-198.hsd1.ca.comcast.net)
- # [07:01] * Joins: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net)
- # [07:03] * Quits: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de) (Quit: Now time for the weather. Tiffany?)
- # [07:05] * Quits: astearns (~anonymous@c-50-132-9-217.hsd1.wa.comcast.net) (Quit: astearns)
- # [07:12] * Quits: temp01 (~temp01@unaffiliated/temp01) (Ping timeout: 276 seconds)
- # [07:13] * Quits: hij1nx (~hij1nx@cpe-98-14-168-178.nyc.res.rr.com) (Quit: hij1nx)
- # [07:17] * Joins: temp01 (~temp01@unaffiliated/temp01)
- # [07:18] * Quits: AlexNRoss (~AleossIRC@unaffiliated/aleoss) (Ping timeout: 260 seconds)
- # [07:26] * Joins: rillian (~rillian@12.104.145.72)
- # [07:27] * Quits: weinig (~weinig@c-24-130-56-198.hsd1.ca.comcast.net) (Quit: weinig)
- # [07:32] * Joins: rillian_ (~rillian@216.1.177.180)
- # [07:36] * Quits: rillian (~rillian@12.104.145.72) (Ping timeout: 252 seconds)
- # [07:40] * Quits: smaug____ (~chatzilla@12.104.145.50) (Ping timeout: 260 seconds)
- # [07:54] * rillian_ is now known as rillian
- # [08:04] * Joins: matjas (u2247@gateway/web/irccloud.com/x-mouyynmbsfsejxqa)
- # [08:22] <annevk> ms2ger, hmm yeah, you'd need to have access to dev.w3.org
- # [08:26] * Joins: nessy (~Adium@66.201.56.195)
- # [08:27] * Quits: rillian (~rillian@216.1.177.180) (Remote host closed the connection)
- # [08:35] <annevk> Hixie, did you mean the suggestion about treating attributes starting with "on" specially? I suppose we could do that
- # [08:36] <Hixie> hm if that was the suggestion it sounds suboptimal
- # [08:43] * Joins: rillian (~rillian@12.104.145.72)
- # [08:54] * Quits: CvP (~CvP@123.49.21.105) (Quit: [ UPP ] > all)
- # [09:02] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
- # [09:04] * Quits: MikeSmith (~MikeSmith@EM114-48-225-218.pool.e-mobile.ne.jp) (Ping timeout: 252 seconds)
- # [09:06] * Joins: erlehmann (~erlehmann@82.113.121.163)
- # [09:08] * Quits: nessy (~Adium@66.201.56.195) (Quit: Leaving.)
- # [09:14] * annevk reads the original thread again
- # [09:15] <annevk> oh
- # [09:16] <annevk> Hixie, so TabAtkins mentioned MooTools which has a magic attribute called "events" which takes its own object
- # [09:16] * Quits: rniwa (~rniwa@216.239.45.130) (Quit: rniwa)
- # [09:17] <annevk> though in his follow up he thought using magic on* was better...
- # [09:21] * Quits: rillian (~rillian@12.104.145.72) (Remote host closed the connection)
- # [09:23] * Quits: jochen__ (jochen@nat/google/x-saxntjigxegzmihg) (Remote host closed the connection)
- # [09:23] * Joins: jochen__ (jochen@nat/google/x-dpfdixfzobltvxzq)
- # [09:25] <annevk> the other alternative was using another argument for it
- # [09:25] * Quits: shans (~shanestep@124-168-157-252.dyn.iinet.net.au) (Ping timeout: 258 seconds)
- # [09:29] * Joins: MikeSmith (~MikeSmith@EM114-48-61-137.pool.e-mobile.ne.jp)
- # [09:30] * Joins: shans (~shanestep@124-168-191-167.dyn.iinet.net.au)
- # [09:35] * Joins: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [09:38] * Joins: bga_ (~bga@ppp78-37-248-91.pppoe.avangarddsl.ru)
- # [09:48] * Joins: rillian (~rillian@12.104.145.72)
- # [09:53] * Quits: benjoffe (~benjoffe_@r49-2-10-185.cpe.vividwireless.net.au) (Remote host closed the connection)
- # [09:55] * Joins: hij1nx (~hij1nx@cpe-98-14-168-178.nyc.res.rr.com)
- # [09:59] * Quits: hij1nx (~hij1nx@cpe-98-14-168-178.nyc.res.rr.com) (Client Quit)
- # [10:00] * Quits: erlehmann (~erlehmann@82.113.121.163) (Quit: Ex-Chat)
- # [10:02] * Quits: micheil (~micheil@195.24.233.121) (Quit: http://brandedcode.com | http://github.com/miksago)
- # [10:21] <annevk> other problems with just object
- # [10:21] <annevk> they theoretically unordered
- # [10:21] <annevk> are*
- # [10:22] <annevk> but order is detectable for both attributes and event handlers
- # [10:24] * Quits: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net) (Ping timeout: 276 seconds)
- # [10:36] * Joins: tomasf (~tom@2002:55e5:d95e:0:a0d2:9fe8:d450:edf0)
- # [10:36] * Quits: rillian (~rillian@12.104.145.72) (Remote host closed the connection)
- # [10:41] * Joins: rabbi1 (~manjunath@49.200.71.103)
- # [10:56] * Joins: Ms2ger (~Ms2ger@91.181.17.37)
- # [11:03] * Joins: jacobolus (~jacobolus@c-71-198-174-224.hsd1.ca.comcast.net)
- # [11:04] <annevk> I wonder, if we introduce new Text(); how much is the DOMString stuff needed?
- # [11:04] <annevk> do we want node.appendChild("test") / new Text("test") / both?
- # [11:04] * Quits: jacobolus (~jacobolus@c-71-198-174-224.hsd1.ca.comcast.net) (Client Quit)
- # [11:07] <annevk> I'm guessing all of it...
- # [11:12] * Joins: necolas (~necolas@5e011564.bb.sky.com)
- # [11:13] * Quits: necolas (~necolas@5e011564.bb.sky.com) (Remote host closed the connection)
- # [11:32] * Joins: stefan-_ (~music@wall.wi2.uni-trier.de)
- # [11:38] * Joins: erlehmann (~erlehmann@dslb-188-102-051-067.pools.arcor-ip.net)
- # [11:48] * Joins: hasather_ (~hasather_@84.38.144.96)
- # [11:51] * Joins: ezoe (~ezoe@112-68-250-133f1.kyt1.eonet.ne.jp)
- # [11:51] <annevk> Acid3 updated, let the DOM simplifications commence
- # [11:52] <Ms2ger> \o/
- # [11:56] * Joins: FireFly (~firefly@unaffiliated/firefly)
- # [12:15] * bga_ is now known as bga_|away
- # [12:20] * Joins: benjoffe (~benjoffe_@r49-2-10-185.cpe.vividwireless.net.au)
- # [12:22] * Joins: bezoar (~Adium@c-24-143-67-135.customer.broadstripe.net)
- # [12:24] * Joins: CvP (~CvP@123.49.21.105)
- # [12:27] * Joins: ZombieLoffe (ZombieL@unaffiliated/zombieloffe)
- # [12:40] * bga_|away is now known as bga_
- # [12:45] * Joins: micheil (~micheil@92.40.254.224.threembb.co.uk)
- # [12:51] * Quits: micheil (~micheil@92.40.254.224.threembb.co.uk) (Quit: micheil)
- # [12:51] * Quits: shans (~shanestep@124-168-191-167.dyn.iinet.net.au) (Quit: shans)
- # [13:13] * Joins: hij1nx_ (~hij1nx@cpe-98-14-168-178.nyc.res.rr.com)
- # [13:25] * Quits: temp01 (~temp01@unaffiliated/temp01) (Ping timeout: 260 seconds)
- # [13:26] * Quits: hij1nx_ (~hij1nx@cpe-98-14-168-178.nyc.res.rr.com) (Quit: hij1nx_)
- # [13:26] <rabbi1> where can i find good ajaxcrud, simple and explained .....
- # [13:27] * Joins: temp01 (~temp01@unaffiliated/temp01)
- # [13:41] * Joins: myakura (~myakura@FL1-203-136-181-177.tky.mesh.ad.jp)
- # [13:43] * Joins: simplicity- (~simplicit@unaffiliated/simplicity-)
- # [13:45] * Quits: simplicity- (~simplicit@unaffiliated/simplicity-) (Client Quit)
- # [13:51] * Joins: simplicity- (~simplicit@unaffiliated/simplicity-)
- # [13:54] * Quits: simplicity- (~simplicit@unaffiliated/simplicity-) (Client Quit)
- # [14:00] * Joins: tndH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com)
- # [14:03] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
- # [14:04] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Client Quit)
- # [14:22] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
- # [14:34] * Quits: benjoffe (~benjoffe_@r49-2-10-185.cpe.vividwireless.net.au) (Remote host closed the connection)
- # [15:07] * Joins: MikeSmith_ (~MikeSmith@EM114-48-98-78.pool.e-mobile.ne.jp)
- # [15:10] * Quits: MikeSmith (~MikeSmith@EM114-48-61-137.pool.e-mobile.ne.jp) (Ping timeout: 240 seconds)
- # [15:10] * MikeSmith_ is now known as MikeSmith
- # [15:12] <llrcombs> well, I think it's That Time
- # [15:12] <llrcombs> IE10/Metro is removing plugin support, and it's really time to define One Codec to Rule Them All
- # [15:13] <Philip`> There's already plenty of One Codecs defined
- # [15:13] <llrcombs> Chrome and FF won't budge on open-source-only codecs no matter how hard anyone tries, so it seems that WebM should be the One Codec that all browsers support
- # [15:17] <Philip`> Someone should suggest that idea to Apple and Microsoft
- # [15:28] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [15:42] * Joins: smaug____ (~chatzilla@64.168.229.50)
- # [15:49] * Quits: smaug____ (~chatzilla@64.168.229.50) (Ping timeout: 252 seconds)
- # [16:16] * Joins: MrDoublesite (~mropposit@unaffiliated/mropposite)
- # [16:22] * Joins: astearns (~anonymous@c-50-132-9-217.hsd1.wa.comcast.net)
- # [16:31] * Joins: maikmerten (~maikmerte@port-92-201-151-204.dynamic.qsc.de)
- # [17:03] * Quits: MrDoublesite (~mropposit@unaffiliated/mropposite) (Quit: OMG, YOU KILLED OPPO!)
- # [17:05] * Joins: hasathe__ (~hasather_@84.38.144.96)
- # [17:07] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Quit: davidwalsh)
- # [17:08] * Quits: hasather_ (~hasather_@84.38.144.96) (Ping timeout: 258 seconds)
- # [17:08] * Joins: MrOpposite (~MrOpposit@unaffiliated/mropposite)
- # [17:10] * Joins: rillian (~rillian@12.104.145.72)
- # [17:11] * Quits: ezoe (~ezoe@112-68-250-133f1.kyt1.eonet.ne.jp) (Ping timeout: 260 seconds)
- # [17:12] * Joins: hasather_ (~hasather_@84.38.144.96)
- # [17:14] * Quits: hasathe__ (~hasather_@84.38.144.96) (Ping timeout: 252 seconds)
- # [17:15] * Joins: nessy (~Adium@66.201.56.195)
- # [17:21] * Joins: seventh (seventh@27.100.18.162)
- # [17:23] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [17:25] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Client Quit)
- # [17:27] * Quits: hasather_ (~hasather_@84.38.144.96) (Ping timeout: 276 seconds)
- # [17:30] * Quits: nessy (~Adium@66.201.56.195) (Quit: Leaving.)
- # [17:39] * bga_ is now known as bga_|away
- # [17:39] * bga_|away is now known as bga_
- # [17:39] * bga_ is now known as bga_|away
- # [17:39] * bga_|away is now known as bga_
- # [17:52] * Joins: hasather_ (~hasather_@84.38.144.96)
- # [17:55] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [17:59] * Quits: rillian (~rillian@12.104.145.72) (Remote host closed the connection)
- # [18:05] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
- # [18:05] * Joins: salavas (~salavas@c83-248-102-83.bredband.comhem.se)
- # [18:15] * bga_ is now known as bga_|away
- # [18:16] <Hixie> annevk: hmm
- # [18:17] <Hixie> var e = Element.create('button', { name: 'command', value: 'search', disabled: true, onclick: function (event) { ... } }, 'Search');
- # [18:17] <Hixie> annevk: maybe just decide how it works based on the value of the entry in the dictionary
- # [18:18] <Hixie> annevk: string = set content attribute, boolean true = set content attribute to '', boolean false = do nothing, function = set a bubbling event listener for the entry's name minus 'on'?
- # [18:19] <Ms2ger> That sounds pretty magical
- # [18:19] <Hixie> the event handler part is, yeah
- # [18:19] <Hixie> dunno what else to do
- # [18:20] <Ms2ger> Passing an extra object for event handlers would be less magical, but probably also less convenient
- # [18:21] <Hixie> actually it wouldn't be that inconvenient, if it came before the array still
- # [18:21] * bga_|away is now known as bga_
- # [18:21] <Hixie> so long as we can distinguish 'object' from Element/string/Array/Node
- # [18:22] <Hixie> that might be non-trivial in idl
- # [18:22] <Hixie> we should look at use cases, see exactly what it looks like
- # [18:22] * Quits: nonge_ (~nonge@p50829391.dip.t-dialin.net) (Quit: Verlassend)
- # [18:23] <zewt> Hixie: if it's a function, set the property by that name? avoids the "remove on" magic
- # [18:23] <Hixie> we don't want to be able to set arbitrary properties
- # [18:23] <Hixie> that has all kinds of weird side-effects
- # [18:24] <zewt> it'd be weird if "'onclick': func" didn't actually affect the onclick property
- # [18:24] <Hixie> e.g. consider Element.create('div', { innerHTML: function () { }, innerText: function () { } }, ['']);
- # [18:24] <zewt> eg. translating it to addEventListener("click", ...) and onclick ending up null would be weird
- # [18:24] <Hixie> yeah i agree that you want it affecting the 'onfoo's
- # [18:25] <Ms2ger> And we'll need to figure something out for the ordering as well
- # [18:26] <Hixie> we only need to worry about ordering if we allow arbitrary properties to be set
- # [18:26] <Hixie> which i recommend against
- # [18:27] <Ms2ger> Also for attributes
- # [18:27] <Hixie> why?
- # [18:27] <Hixie> the parser sets them and creates the element atomically
- # [18:27] <Ms2ger> That's fiction
- # [18:27] <Hixie> there's no order
- # [18:27] <Hixie> no it's not
- # [18:27] <Hixie> there's no way to detect the order
- # [18:27] <Ms2ger> There is
- # [18:27] <Ms2ger> element.attributes
- # [18:27] <Hixie> only in buggy browsers
- # [18:28] <Hixie> element.attributes should define its own order
- # [18:28] <Ms2ger> Right, the order in which they're set
- # [18:28] <Hixie> they're not set in an order
- # [18:30] <Philip`> Aren't there already lots of friendly DOM-wrapper APIs that could be copied from, instead of inventing something new?
- # [18:30] * Philip` doesn't know of any but doesn't see why they wouldn't exist if people cared about it
- # [18:31] <zewt> there was a list at the beginning of the thread, I think
- # [18:31] <zewt> jquery, etc
- # [18:32] <Ms2ger> jquery is hardly where I'd look for good API design
- # [18:35] <bga_> Hixie btw instead new Element(name, optMap) you can do more orthogonally - new Element(name)._extend({innerHTML: '...'})._on('click', _foo)
- # [18:36] <Hixie> (Element.create(), not new Element())
- # [18:36] <bga_> sorry
- # [18:36] <Hixie> chaining method calls seems a bit ugly to me
- # [18:36] <Hixie> but it's an option, certainly
- # [18:38] <bga_> Hixie but you can out {optMap} arg to _extend
- # [18:39] <bga_> c# has this init pattern iirc
- # [18:39] <Philip`> new Element("<button name='command' value='search' disabled onclick='...'>{caption}</button>", { "caption": "Search" }); - HTML already has a syntax for expressing DOM subtrees, it seems silly to invent a new one
- # [18:39] <Hixie> i don't see the advantage of Element.create('button').extend({name: 'foo'}).append('Submit'); over Element.create('button', {name: 'foo'}, 'Submit');
- # [18:40] <bga_> but it looks as new Foo(){a: 1, b: 2}
- # [18:40] <Hixie> Philip`: what you just proposed _is_ new syntax
- # [18:40] <zewt> Philip`: err, you certainly don't want to be writing JS functions inside blocks of text inside jS
- # [18:40] <zewt> JS
- # [18:40] <Hixie> Philip`: assuming the {caption} part is magical
- # [18:41] <Philip`> Only mildly magical, to make it do something that's not redundant with innerHTML
- # [18:41] * Quits: ParadoX- (parad0x@hades.spexhost.com) (Ping timeout: 248 seconds)
- # [18:41] <zewt> well, string formatting is something that would be useful and that everyone keeps reinventing (though a different problem, of course)
- # [18:42] <Hixie> Philip`: how do you create an element whose contents are "a JS block is like {foo}." ?
- # [18:42] <Ms2ger> Of course it should be new Element("<button name='command' value='search' disabled onclick='...'>%s</button>" % ("Search",))
- # [18:42] <Hixie> Philip`: how do you programatically decide whether an attribute is set or not?
- # [18:42] <bga_> Philip` ie already has this syntax
- # [18:42] <Hixie> Philip`: how do you reference a function for event handlers?
- # [18:43] <Philip`> new Element("<button onclick={handler}>", {"handler":function(){...}) plus sufficient magic, or something
- # [18:43] <Hixie> Philip`: moving away from innerHTML is what this discussion is all about
- # [18:43] * Philip` notes that he hasn't read the discussion so he has no idea what the context is, and hasn't given this any non-trivial amount of thought
- # [18:43] <zewt> how do you add an attribute to the <button> definition programmatically?
- # [18:43] <Hixie> well if anne wants to spec an html parser in dom core, obviously i'll let him do it, but i am skeptical he'll want to :-)
- # [18:44] <Philip`> XML5 parser :-)
- # [18:44] <Ms2ger> I sure won't let him :)
- # [18:44] <bga_> Hixie advantage is you shouldnt copy if(optMap != null) this._extand(optMap) in every constructor
- # [18:45] * Joins: brucel (~brucel@cpc4-smal11-2-0-cust879.perr.cable.virginmedia.com)
- # [18:45] <bga_> orthogonallity
- # [18:45] <Hixie> bga_: why is that an advantage? a single pointer comparison is trivial in cost.
- # [18:45] * Joins: ParadoX- (parad0x@hades.spexhost.com)
- # [18:46] <Hixie> bga_: plus the whole point here is creating an element _with_ arguments, if you don't want arguments you can already do document.createElement('foo');
- # [18:46] <zewt> in principle, the whole "set this bundle of properties" thing could be detached from creation, if there's no real need for them to be atomic
- # [18:47] <zewt> createElement("a").set({href: "url"})
- # [18:47] <bga_> Hixie you can forget this magic line of code in some constructor. but main idea to move from new Point(x, y) to new Point(){x: x, y: y} form.
- # [18:48] <bga_> create element and set properties namely
- # [18:48] <Ms2ger> new Point({x: x, y: y}), I hope
- # [18:48] <zewt> ew
- # [18:49] <Hixie> bga_: if you want the JS language itself to change, I recommend bringing it up with the JS folk
- # [18:49] <zewt> (just an ugly example, a "point" constructor being the last thing you'd want that form for :)
- # [18:49] <Hixie> bga_: we're just proposing a new constructor within what JS already supports
- # [18:50] <bga_> Hixie ok. _extend()
- # [18:50] <bga_> or Ms2ger form
- # [18:50] <bga_> may be
- # [18:54] <Hixie> bga_: i still don't understand the advantage then
- # [18:57] <bga_> Hixie you want ta make same design bug as in Array#map, filter, some etc. each fn get context as last arg instead just force coder to use .bind if he want
- # [18:57] <Hixie> why is it a design bug?
- # [18:59] <bga_> you dont want to make obvious decomposition of functionality
- # [18:59] <bga_> fill object's properties is common task
- # [19:00] <Hixie> i have nothing against a generic syntax for filling an object's properties
- # [19:01] <Hixie> that's not what we're talking about here
- # [19:01] <Hixie> we're talking about a convenient constructor for creating an Element
- # [19:02] <bga_> ok
- # [19:02] <Hixie> i recommend bringing up the generic idea in the JS group
- # [19:02] <Hixie> if they add it, maybe we won't need a generic element constructor at all
- # [19:04] <jarek> not sure if I had understood your discussion correctly, but what's wrong with document.createElement()?
- # [19:04] <jarek> why add even more cruft to DOM?
- # [19:09] <Ms2ger> See the discussion on www-dom
- # [19:12] <Hixie> jarek: it's verbose
- # [19:13] <jarek> Hixie: it can be easily abstracted away with frameworks
- # [19:14] <Ms2ger> jarek, there's a list if you want to argue about the necessity
- # [19:14] <Hixie> jarek: why require that people use frameworks?
- # [19:17] <bga_> Hixie what do you think simple but strict(from oop view) about document.Div()? even w/o new
- # [19:17] <bga_> -about +about
- # [19:17] <Hixie> i don't understand the question
- # [19:18] <bga_> sorry. just document.Div() document.B()
- # [19:18] <jarek> are you planning to have spearate Element.createNS() constructor just like document.createElementNS()?
- # [19:19] <jarek> s/spearate/separate
- # [19:19] <Hixie> bga_: seems like it would mean a lot of constructors
- # [19:20] <bga_> document.Div(){id: 'foo'} if TC39 will accept this syntax
- # [19:20] <Hixie> jarek: no, iirc the proposal is to just support Element.create('foo'); for HTML, Element.create('svg:foo'); for SVG, and 'math:foo' for MathML.
- # [19:20] <bga_> Hixie but global scope already has alot of HTML*Element
- # [19:21] <Hixie> bga_: which don't map 1:1 to elements
- # [19:32] <jarek> what about E4X? Is it officially dead?
- # [19:33] <Hixie> unfortunately, seems that way.
- # [19:33] <Hixie> something like e4x would definitely be my preferred solution, personally
- # [19:34] <Ms2ger> brendan still objects to removing e4x from SpiderMonkey, IIRC
- # [19:35] <jarek> I doubt they will remove it from Firefox, this could break some extensions
- # [19:37] <Ms2ger> I've broken a lot of extensions, so that doesn't bother me much
- # [19:38] * Joins: weinig (~weinig@c-24-130-56-198.hsd1.ca.comcast.net)
- # [19:43] * Quits: janv__ (~varga@dyna-ip-195-91-81-147.flarion.as5628.telecom.sk) (Quit: This computer has gone to sleep)
- # [19:46] * Joins: simplicity- (~simplicit@unaffiliated/simplicity-)
- # [19:51] * Joins: ezoe (~ezoe@203-140-88-46f1.kyt1.eonet.ne.jp)
- # [19:53] * Joins: rillian (~rillian@207.239.83.130)
- # [19:54] * Quits: jarek (~jarek@unaffiliated/jarek) (Quit: jarek)
- # [20:03] * bga_ is now known as bga_|away
- # [20:04] * Quits: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi) (Ping timeout: 240 seconds)
- # [20:04] * Joins: janv__ (~varga@dyna-ip-195-91-81-147.flarion.as5628.telecom.sk)
- # [20:08] * Joins: Stikki (~lordstich@dsl-pribrasgw1-ff17c300-80.dhcp.inet.fi)
- # [20:09] * bga_|away is now known as bga_
- # [20:10] * Joins: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net)
- # [20:11] * bga_ is now known as bga_|away
- # [20:11] * Quits: Bass10 (~Bass10@c-76-113-194-7.hsd1.mn.comcast.net) (Max SendQ exceeded)
- # [20:17] * Quits: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au) (Remote host closed the connection)
- # [20:24] * Parts: brucel (~brucel@cpc4-smal11-2-0-cust879.perr.cable.virginmedia.com)
- # [20:31] * Joins: nonge (~nonge@p50829391.dip.t-dialin.net)
- # [20:37] * bga_|away is now known as bga_
- # [20:39] * Joins: hij1nx_ (~hij1nx@mobile-198-228-192-156.mycingular.net)
- # [20:47] * Quits: rabbi1 (~manjunath@49.200.71.103) (Quit: Leaving.)
- # [20:47] * Quits: simplicity- (~simplicit@unaffiliated/simplicity-) (Quit: ...)
- # [21:00] * Joins: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net)
- # [21:01] * Quits: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
- # [21:01] * Joins: jacobolus (~jacobolus@c-71-198-169-213.hsd1.ca.comcast.net)
- # [21:02] * Quits: Rik` (~Rik`@12.104.145.50) (Remote host closed the connection)
- # [21:04] * Quits: rillian (~rillian@207.239.83.130) (Remote host closed the connection)
- # [21:04] * Joins: rillian (~rillian@207.239.83.130)
- # [21:06] * Quits: hij1nx_ (~hij1nx@mobile-198-228-192-156.mycingular.net) (Read error: Connection reset by peer)
- # [21:09] * Quits: rillian (~rillian@207.239.83.130) (Ping timeout: 258 seconds)
- # [21:10] * Quits: MikeSmith (~MikeSmith@EM114-48-98-78.pool.e-mobile.ne.jp) (Ping timeout: 260 seconds)
- # [21:11] * Quits: weinig (~weinig@c-24-130-56-198.hsd1.ca.comcast.net) (Quit: weinig)
- # [21:11] * Joins: hij1nx (~hij1nx@mobile-198-228-192-156.mycingular.net)
- # [21:15] * Joins: MikeSmith (~MikeSmith@EM114-48-21-137.pool.e-mobile.ne.jp)
- # [21:23] * Joins: oknoway (~oknoway@199.223.125.157)
- # [21:28] * Quits: janv__ (~varga@dyna-ip-195-91-81-147.flarion.as5628.telecom.sk) (Quit: This computer has gone to sleep)
- # [21:31] * Quits: oknoway (~oknoway@199.223.125.157) (Quit: oknoway)
- # [21:32] * Joins: _bga (~bga@ppp78-37-226-27.pppoe.avangarddsl.ru)
- # [21:32] * Quits: Ms2ger (~Ms2ger@91.181.17.37) (Quit: nn)
- # [21:34] * Quits: bga_ (~bga@ppp78-37-248-91.pppoe.avangarddsl.ru) (Ping timeout: 252 seconds)
- # [21:35] * Quits: maikmerten (~maikmerte@port-92-201-151-204.dynamic.qsc.de) (Remote host closed the connection)
- # [21:47] * Quits: hij1nx (~hij1nx@mobile-198-228-192-156.mycingular.net) (Read error: Connection reset by peer)
- # [21:52] * Quits: CvP (~CvP@123.49.21.105) (Disconnected by services)
- # [21:52] * Joins: xCG (~CvP@123.49.23.42)
- # [21:53] * xCG is now known as CvP
- # [22:06] * Joins: hij1nx (~hij1nx@mobile-198-228-192-156.mycingular.net)
- # [22:23] * Joins: weinig (~weinig@17.212.155.228)
- # [22:25] * Quits: MrOpposite (~MrOpposit@unaffiliated/mropposite) (Read error: Operation timed out)
- # [22:27] * Quits: myakura (~myakura@FL1-203-136-181-177.tky.mesh.ad.jp) (Remote host closed the connection)
- # [22:27] * Joins: MrOpposite (~MrOpposit@unaffiliated/mropposite)
- # [22:27] * Joins: myakura (~myakura@FL1-203-136-181-177.tky.mesh.ad.jp)
- # [22:28] * Quits: _bga (~bga@ppp78-37-226-27.pppoe.avangarddsl.ru) (Read error: Connection reset by peer)
- # [22:28] * Joins: bga_ (~bga@ppp78-37-226-27.pppoe.avangarddsl.ru)
- # [22:32] * Quits: myakura (~myakura@FL1-203-136-181-177.tky.mesh.ad.jp) (Ping timeout: 260 seconds)
- # [22:36] * Joins: Rik` (~Rik`@216.9.106.106)
- # [22:43] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Quit: davidwalsh)
- # [22:52] * Quits: tomasf (~tom@2002:55e5:d95e:0:a0d2:9fe8:d450:edf0) (Quit: tomasf)
- # [22:52] * Joins: tomasf (~tom@c-5ed9e555.024-204-6c6b7012.cust.bredbandsbolaget.se)
- # [22:57] * Joins: aho (~nya@fuld-590c7bcc.pool.mediaWays.net)
- # [22:57] * Quits: tomasf (~tom@c-5ed9e555.024-204-6c6b7012.cust.bredbandsbolaget.se) (Ping timeout: 260 seconds)
- # [22:57] * Joins: miketaylr (~miketaylr@206.205.54.73)
- # [23:01] * Joins: simplicity- (~simplicit@unaffiliated/simplicity-)
- # [23:03] * Joins: ttepasse (~ttepasse@ip-109-90-161-169.unitymediagroup.de)
- # [23:19] * Joins: charlvn (~charlvn@2001:0:53aa:64c:3cc1:2b59:d6ff:cfc9)
- # [23:19] * Joins: chriseppstein (~chris@udp090074uds.ucsf.edu)
- # [23:27] <gsnedders> OTW, I'd be in favour of e4x too, but pretty much including an entire XML tokenizer into the JS parser is somewhat ugly
- # [23:29] <annevk> So yeah, the question is whether we can distinguish between arrays and objects...
- # [23:30] * Quits: hij1nx (~hij1nx@mobile-198-228-192-156.mycingular.net) (Read error: Connection reset by peer)
- # [23:31] <gsnedders> annevk: at what level?
- # [23:32] <annevk> IDL
- # [23:32] <annevk> method(string, object, object, array)
- # [23:32] <annevk> but you want these overloaded versions:
- # [23:32] <annevk> method(string, object, array)
- # [23:32] <annevk> method(string, array)
- # [23:33] <annevk> furthermore, array can also be DOMString
- # [23:33] <annevk> and ideally also a Node
- # [23:34] <annevk> object is always a JavaScript object
- # [23:34] <annevk> { ... }
- # [23:34] * Joins: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com)
- # [23:34] <annevk> I guess you can technically do it, but maybe not without upsetting the JavaScript gods
- # [23:34] <gsnedders> At a JS level, you could just check whether Array.prototype is in the prototype chain, or whether it was created through the array constructor (through [[HasInstance]] or whatever)…
- # [23:34] * Quits: davidwalsh (~davidwals@75-135-74-55.dhcp.mdsn.wi.charter.com) (Client Quit)
- # [23:35] <annevk> I guess you can do the same for checking about it being a Node?
- # [23:35] <annevk> versus a {...} object?
- # [23:35] <gsnedders> But doing anything apart from treating arrays as if they were objects (which they are, they just have a different [[DefineOwnProperty]] which magically changes length) is evil.
- # [23:35] <gsnedders> annevk: Yeah.
- # [23:35] <gsnedders> Special-casing host objects is a lot less evil, too.
- # [23:35] <annevk> less evil?
- # [23:37] <gsnedders> Special-casing arrays v. other objects is evil.
- # [23:38] <gsnedders> {0: "a", 1: "b", 2: "c", length: 3} and ["a", "b", "c"] should be identical everywhere.
- # [23:39] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: Freedom - to walk free and own no superior.)
- # [23:40] <annevk> I guess it depends on how you view it
- # [23:40] <gsnedders> As an ES guy. :)
- # [23:40] <gsnedders> I don't care about your silly host objects. :)
- # [23:40] <annevk> I mean you can treat them identical and still make this work
- # [23:41] <annevk> you just say it's method(string, optional object, optional object, optional object) and deal with the specifics in the definition
- # [23:42] <gsnedders> ewwwww.
- # [23:43] * Quits: simplicity- (~simplicit@unaffiliated/simplicity-) (Quit: ...)
- # [23:44] <gsnedders> Just… just… forking based upon prototype chain or [[Class]] or [[HasInstance]] is evil, and only to be done when it's absolutely impossible to use generic objects.
- # [23:44] <gsnedders> (And that should be basically never, except when a host object deals with another host object)
- # [23:46] * Joins: simplicity- (~simplicit@unaffiliated/simplicity-)
- # [23:47] <annevk> can just look at the keys of the object my man :)
- # [23:47] * annevk wants his convenient API damnit
- # [23:47] <Hixie> annevk: for the overloading, i think to do it you'd have to have a whole bunch of overloads, but you could do it
- # [23:48] <annevk> the magic properties could also work, but they are somewhat less appealing
- # [23:50] <gsnedders> annevk: And stop pretending I actually write ES, I just write testcases! :)
- # [23:51] <annevk> Hey you go around as the "ES guy" :p
- # [23:52] <gsnedders> No, that's farre :)
- # Session Close: Sun Sep 18 00:00:02 2011
The end :)