Mochabot log - CommonJS IRC channel: #commonjs on irc.freenode.net

2010-11-06:

[13:03] <Wes-> kriszyp: Was your script-tag insertion algorithm tested on IE9? Is there a better way to detect the IE vs. non-IE behaviour than document.all or "\v" == "v"?
[13:07] <kriszyp> I haven't tested on IE9, I figure jrburke probably has though.
[13:07] <kriszyp> he is testing by the presence of node.addEventListener
[13:08] <kriszyp> Not sure if there is a better feature detect approach
[13:08] <Wes-> Ah, that makes sense -- I guess addEventListener is the "right" way to add the onload event, instead of the onload attribute
[13:09] <Wes-> (I missed out on about 10 years of client-side development after burning out on the 4-series)
[14:55] <ashb> what specifcally are you testong for in IE?
[14:55] <ashb> something like http://www.modernizr.com/ might be more robust
[16:01] <Wes-> kixxauth: Kris Walker, right? What do you do with CommonJS? Are you a platform author or a user?
[16:05] <Dantman> blech... I didn't quite like modernizr
[16:22] <ashb> Dantman: you don't seem to like much that you didn't write ;)
[18:42] <kixxauth> Wes-: yeah, Kris Walker. I'm working on a platform, but I've also been using Jetpack.
[19:14] <Dantman> ashb, Heh... no, it's just something about Modernizr last time I checked... most of the stuff you'd use Modernizr for are one or two liners that could efficiently be put in your own code... but making use of modernizr basically loads a bunch of 3rd party js executing every page load, of which you'll probably only be using 10% of those tests anyways, so you end up completely wasting time by letting the lib check compatibility for things you'll never use.
[19:14] <Dantman> ..
[20:35] <kixxauth> Wes-: yep, I'm Kris Walker. I'm working on a platform, but I've also been using Jetpack recently.
[20:35] <kixxauth> (sorry I missed your ping earlier today)
[20:36] <Wes-> kixxauth: Interesting -- I noticed you kind of appear from nowhere with really good input. Are you able to talk about your platform?
[20:36] <Wes-> And don't worry about missing the ping, I don't even know what timezone you're in! :)
[20:37] <kixxauth> tz=EST I've been busy, so just been lurking on the list since minimal activity last year.
[20:37] <kixxauth> The platform is meant to be a browser extension for installable web apps.
[20:38] <Wes-> Oh, sweet! I see why you've been interested JetPack
[20:39] <Wes-> "installable web apps" - like HTAs?
[20:39] <Wes-> I just realized something funny, your platform and Jetpack are two areas where require() on the browser can block without real penalty :)
[20:40] <kixxauth> https://apps.mozillalabs.com/
[20:40] <kixxauth> ^ That is a prototype Mozilla is working on.
[20:40] <kixxauth> It's just mockup code.
[20:41] <kixxauth> I'd like to make CommonJS the standard in the platform... and yeah, originally it *was* blocking.
[20:42] <kixxauth> But to get true cross browser support for installable web apps through some legacy browsers I'm not able to read files outside of an event loop.
[20:42] <kixxauth> ... so back to async.
[21:57] <Wes-> madre de dios, carpentry is hard work
[21:57] * Wes- is glad he has a desk job 5 days a week

 

 

Logs by date :