[09:00:37] hey all [09:00:45] I'm running the final vote count for 1.7 now [09:00:51] k [09:01:17] Here. [09:01:41] ok [09:01:45] okay, guess I can stop voting then? [09:01:55] jzaefferer: probably, yeah :) [09:02:17] well, I hope my vote on #7523 still counts [09:02:31] the polls are closed! [09:02:55] we need a better voting system next time [09:03:29] scott_gonzalez: how would you make it better? [09:03:29] especially if something that got voted on for 1.7 gets voted on again for 1.8 [09:03:44] are we removing the vote comments afterward? [09:03:50] scott_gonzalez: no, we're not [09:03:54] timmywil: well, for one, I should be able to see what I haven't voted on [09:04:04] you'd prefer cross-reference support or something along those lines scrott_gonzalez? [09:04:09] scott_gonzalez: patches welcome! [09:04:15] lol [09:04:30] OK [09:04:35] scott_gonzalez: you mean more than the description? [09:04:35] so I have the votes in the spreadsheet [09:04:53] did al gore win this time? [09:04:57] timmywil: I know I didn't vote on about 10 tickets, I have no idea which ones [09:05:03] Dave: I wish [09:05:04] al gore nevar wins [09:05:07] to find out, I'd have to look at all 81 tickets individually [09:05:24] an inconvenient patch [09:05:33] lol [09:05:33] scott_gonzalez: ah, ok [09:05:36] here is a final vote talley: https://spreadsheets.google.com/spreadsheet/pub?hl=en&key=0AuWerG7Xqt-8dG0yTEs2ZTFWQUhDRUp5dzRyc3NwV2c&hl=en&gid=2 [09:06:07] we have a bunch that didn't get a single down vote [09:06:14] we can move through those pretty quickly [09:06:15] does miketaylr win a prize? [09:06:34] haha [09:06:34] (and a bunch that didn't get a single upvote) [09:07:18] is everyone OK with me going through all the no downvote ones and just assigning them to 1.7? [09:07:28] ok with me [09:07:28] fine by me [09:07:32] I think thats fine [09:07:32] and me going through all the no upvote ones and closing them as wontfix (or similar) [09:07:39] sounds good [09:07:42] OK [09:07:43] +1 :P [09:07:45] sounds like a good start [09:07:58] What an agreeable bunch we are today <3 [09:08:03] it depends whether I reported the bug or not [09:08:05] JohnResig: some with no upvotes might have some good commentes [09:08:06] and all the all downvote ones can be closed? [09:08:08] lol [09:08:13] might be worth reading through them before closing [09:08:33] scott_gonzalez: well, we're not deleting the tickets, right? [09:08:34] but not in the meeting [09:08:51] is there any long-term plan to "clean up jQuery"? like a jQuery 2.0 that isn't backwards compatible? [09:08:59] you can always resurrect them if we made some mistakes [09:09:08] if that is a desirable milestone, some of those tickets could get assigned to that [09:09:11] JohnResig: sure, go ahead and just close them, I'll check if there were any interesting ones we should circle back on for some reason [09:09:19] scott_gonzalez: k! [09:09:20] jzaefferer i think at jQuery Conf SF, there was a definitive "no" [09:09:23] jzaefferer: not really, no [09:09:33] jzaefferer: most of the no-upvote ones are plugin requests [09:09:38] i would like to have 1.7 deprecate a list of things that we might be able to pull out or pluginify in the future [09:09:46] but i don't think 1.7 should pull out any features [09:09:51] +1 dave [09:09:54] $.browser? [09:09:58] >:| [09:10:00] yeah like that [09:10:04] DaveMethvin: shouldn't we have voted on that? [09:10:05] we can take a stand [09:10:12] we kind of did, with :input [09:10:13] was about to mention $.browser - are we deprecating that this time? [09:10:24] well, we didn't vote on it, so no [09:10:24] be the first library to _officially_ drop support for browser sniffing [09:10:24] there were tickets for deprecating specific features [09:10:37] like :input [09:10:46] browser is alrready on the deprecation list but we aren't taking it out now [09:10:46] didn't get to vote on that, but deprecating it makes sense [09:10:53] need to get people of that lawn [09:10:59] even though I originally added that :o [09:11:10] ok, let's talk about the contenteous issues [09:11:14] what we need is MORE people on that lawn...specifically browser vendors :-) [09:11:17] outerWidth/Height? [09:11:22] $.browser is among those :/ [09:11:28] jzaefferer and it got a lot of +1 votes [09:11:54] First up: http://bugs.jquery.com/ticket/6652 [09:12:14] ok, so it's me [09:12:50] config flag sounds like a bad idea [09:12:58] 6652 seems to ahve been proposed twice? [09:13:01] oh god no config flag please! [09:13:03] meh i forgot to join [09:13:04] agreed [09:13:10] can we assign to 1.7 and try to find a good solution? [09:13:16] this ticket and I think scott_gonzalez wrote a similar proposal [09:13:36] so I don't think the proposed implementation is what we want [09:13:41] as pointed out by a few comments [09:13:44] for which ticket? [09:13:45] I still don't like it, but if I'm the only one, no biggy [09:13:51] but I think we can handle this in specific methods [09:13:56] yeah, I wasn't keen on the proposed solution either [09:14:01] ben_alman http://bugs.jquery.com/ticket/6652 [09:14:05] right, scott_gonzalez I had +0'ed this in favor of your proposal [09:14:06] needs to check if the default opacity would be 1 before removing [09:14:07] like fadeIn and fadeOut can specifically remove it [09:14:11] we are voting on tackling the issue, not on the proposed solution, right? [09:14:13] or save the orig [09:14:18] which it does [09:14:20] hmmm [09:14:30] but maybe not fadeTo even if it hits 100% [09:15:15] scott_gonzalez: I think it could if that's what it will be without the filter (if there's an easy way to know that) [09:15:27] I dunno, I feel like it's a lot of trouble for something that will look horrid while animating [09:15:32] sure, the more places we can remove it, the better [09:15:33] anyway [09:15:51] jzaefferer: i agree debate is prolly best kept to whether to tackle the issue, and it may turn out we have no tackler or no solution in 1.7 after someone takes a look [09:15:55] jaubourg: not a really a during-animation issue [09:16:06] DaveMethvin jzaefferer +1 [09:16:06] ok, so yes to 6652, pending solution [09:16:12] JohnResig +1 [09:16:15] +1 [09:16:25] next up: http://bugs.jquery.com/ticket/8157 [09:16:31] timmy: well, the rendering problem will occur while animating... I know that first hand by having dealt with it on a site I made [09:16:38] jaubourg: you again ;) [09:16:43] hehe [09:17:21] scott: you confirm it's not a change event trigerred when there's no change we want here? [09:17:25] it's a little confusing. not sure jaubourg saw the problem at the time [09:17:26] (just saw your comment) [09:17:36] #8157 looks like Julian didn't get it, but everyone else did and +1 ? [09:17:39] ( JohnResig I add 6652 to the meeting doc ) [09:17:42] added* [09:17:53] rwaldron: I've been keeping track of the votes in the spreadsheet [09:17:56] if it's a real change we fail to detect, then fix [09:18:02] jaubourg: did you see the jsbin? [09:18:06] ok cool, i'll let you do that [09:18:09] yeah, it's a real change that we fail to detect [09:18:10] I was confused by how the thing was being presented [09:18:19] rwaldron: for example: http://gyazo.com/dcb50d360c9202200a4870dafd3413d8.png [09:18:22] our special change event listens to focus and clears a flag [09:18:29] JohnResig awesome [09:18:31] but if the field is already focused, then the flag shouldn't get cleared [09:18:36] ok [09:18:41] -1 => +1 [09:18:43] next [09:18:49] K [09:18:57] I want to circle back and make sure we're on the same page for: http://bugs.jquery.com/ticket/6362 [09:19:16] at some point i want to discuss #4446 and #4596 together [09:19:36] ben_alman: we'll get there [09:19:41] just making sure [09:19:43] np [09:19:50] ben_alman: we can do it next [09:19:58] after rereading, +1 on #6362 [09:20:13] what is the exact change we're planning to make for 6362? just changing what .index("selector") does? [09:20:48] yeah, I guess we need to figure out exactly what we're changing it to [09:20:49] As noted in my +1, I want it named semantically. [09:20:56] Didn't vote on it, but agree with rwaldron's comment about a more semantically correct name for the thing. [09:21:00] Its like "indexOf" [09:21:02] ^ what he said. [09:21:09] +1 rick tooµ [09:21:20] I wrote .ordinal() years ago [09:21:23] all: http://jsfiddle.net/rwaldron/9R9kP/ [09:21:27] well if we create a new name the semantics are a blank slate [09:21:28] it seems like it should be the equivalent of doing a filter and finding the position of the first element that matches that [09:21:30] it sounds like the requist is to add an additional signature? [09:21:35] cause the OP is actually requesting a new signature [09:21:35] lol [09:21:37] instead of the .children() thing we have now [09:21:39] eh, that fiddles sucks [09:21:59] rwaldron: yeah, essentially like what you have [09:22:04] but there already is a string signature [09:22:06] JohnResig, the .children() is only when you do .index() with no args, isn't it? [09:22:11] so his request would break back-compat [09:22:13] uhhh [09:22:32] ben_alman, it's not a "new" signature, currently you can pass a jquery obj and it'll use the first elem [09:22:51] ajpiano: you're right - the string does a global selector [09:22:56] ajpiano ben_alman http://jsfiddle.net/rwaldron/9R9kP/ [09:23:02] a relative filter would make more sense [09:23:04] right now $(elem).index(selector) will find elem in selector, he wants $(elems).index(selector) to find selector in elems [09:23:07] heh [09:23:11] right? [09:23:18] or have i got it wrong [09:23:21] ben_alman: right, and I agree with that [09:23:33] so what we need to figure out is if we care strongly enough about this to break the old API [09:23:38] https://projects.workxpress.com/js/src/jquery/jquery.ordinal.js [09:23:48] I'm meh [09:23:57] considering how much people freak out over API changes, this may have to get a pass [09:24:02] yeah [09:24:05] yeah [09:24:06] (even though I like the proposed change) [09:24:07] i would not change a sig like that ... deprecate index and replace with indexOf if it's needed [09:24:08] i do as well [09:24:15] but I'm pretty sure the request is not to break anything [09:24:20] +1 DaveMethvin [09:24:21] can we put it on a "look at for 3.0" list? [09:24:24] or change anything in existance [09:24:28] but to _add_ something new [09:24:37] they just gave a crappy name for it [09:24:39] ben_alman: I'll add a revisit-2.0 keyword to it [09:24:40] "indexIn" [09:24:51] if it's a proposal to add indexOf or indexIn I think it would be nice to prove its value [09:24:53] rwaldron, i think he wants to change the existing signature to work as an .indexIn method and change the current .index method [09:25:03] to support the new behavior [09:25:05] JohnResig: didn't you say five minutes ago there won't be a 2.0? [09:25:11] the way the current string one is designed assumes you're trying to find out the index of a single element you already have, not search a set of element sfor a particular selector [09:25:15] jzaefferer, that's why i suggested 3.0 [09:25:17] :P [09:25:20] jorn: shush you :P [09:25:22] lol [09:25:26] JohnResig, will you be putting together a report for any revisit-2.0 items that get tagged as such? [09:25:26] eh. eff breaking things [09:25:34] addyosmani: yes! [09:25:39] great! [09:25:48] rwaldron: jzaefferer i think the "there is no 2.0" thing means "there isn't going to be a gigantic paradigm shift" [09:25:52] it doesn't mean there won't be a jquery versoin 2.0 [09:26:04] moving on? [09:26:08] I'm using "2.0" as a metaphor here for "things that'll break stuff" [09:26:13] ok, next bug [09:26:16] I mean like a 2.0 where .each and $.each has the right signature… [09:26:21] *have [09:26:40] jzaefferer: that ship has sailed ... :P [09:26:42] http://bugs.jquery.com/ticket/8685 [09:26:52] 27 mins... 3 tickets. [09:27:00] wait... this is 6 yes [09:27:02] hang on [09:27:06] JohnResig: ya.... was... ok [09:27:07] :p [09:27:17] ps i'm super hapy that got tackled :) [09:27:20] oh, nm [09:27:23] but hot though rite? [09:27:29] :D [09:27:36] timmywil: ya for real :) [09:27:39] ok, animate hooks: http://bugs.jquery.com/ticket/8498 [09:27:54] jaubourg again [09:27:59] and DaveMethvin [09:28:05] seems like a bunch of people weren't really into animateHooks, per se [09:28:06] so I want to be clear what I'm talking about here [09:28:08] it's cause he's french or something [09:28:13] +1 to timmywil's solution. [09:28:13] but rather having .animate take a look at cssHooks when animating [09:28:24] The growth of the animation code has me worried [09:28:38] I really like adding hooks for gnarf [09:28:46] gnarfHooks? [09:28:46] *like what gnarf proposed [09:28:47] I think the problem is that cssHooks doesn't provide any string transformation utility... just setting stuff in the element [09:29:00] I think we should set hooks for that [09:29:05] we should expand cssHooks [09:29:09] meta-level hooks for CSS [09:29:13] not bury things in effects.js [09:29:13] animate can't use cssHooks [09:29:15] forget the animate business [09:29:36] I want it so that people can make meta-property plugins mapping margin -> margin stuff [09:29:42] same thing for border, padding, etc. [09:29:43] +1 john [09:29:45] and other properties [09:29:52] +1 [09:29:52] the problem is some things should really only be for effects (setting margin in css is different than animating) [09:30:00] i like that, esp if it keeps them from asking to have core include it [09:30:09] DaveMethvin: yep! [09:30:12] DaveMethvin helllllssss yeah [09:30:17] what does "mapping margin -> margin" mean? [09:30:35] I think I already ask that question but cannot remember the answer : Can't all that already be achieved through $.fx.step.margin ? [09:30:35] jzaefferer: see: http://bugs.jquery.com/ticket/8498#comment:9 [09:30:42] maring => marginTop, marginRight, marginBottom, marginRight [09:30:49] louisremi: no [09:31:00] you need to animate individual sides individually [09:31:22] wel, maybe, but not in a DRY way [09:31:30] ok, so next one [09:31:32] http://bugs.jquery.com/ticket/9401 [09:31:34] scott_gonzalez: but you could do that in your step function [09:31:37] better hooks organization [09:31:46] maybe add the map thing to cssHooks, but not add the logic in css to read from maps (more of an effects-only map) [09:31:49] some props shouldn't animate [09:32:01] So, I proposed this, but honestly... its like way too much effort and will likely be a headache [09:32:05] timmywil: we can explore both [09:32:14] rwaldron: ok yeah, minimal benefit [09:32:20] let's cut it! [09:32:25] SNIP [09:32:28] next :) [09:32:41] thanks rwaldron, just saved me a lot of typing [09:32:41] :p [09:32:44] next: http://bugs.jquery.com/ticket/5684 [09:32:55] ajpiano secretly, I'm a reasonable guy [09:33:01] I gotta run to a meeting. bbl! [09:33:02] so it seems like we want to fix this, we're just not sure if a solution exists [09:33:09] so yes to this, pending working solution [09:33:13] ajpiano, don't you hate having all that typing then just cmd-a, delete ? [09:33:25] yep, as long as the original exception is not lost, I'll take any solution [09:33:40] ben_alman: didn't get that far ;) [09:33:45] next: http://bugs.jquery.com/ticket/6838 [09:33:46] nice [09:34:08] so this is a gnarly sizzle bug [09:34:18] we should definitely fix that, I think only priority needs to be discussed [09:34:20] positioning semantics inside of :not() has always been weird [09:34:31] JohnResig, does .not(':first') work correctly? [09:35:17] er [09:35:20] there is specific weirdness going on here in IE that's really hard to track down [09:35:24] .not('.Item:first') [09:35:35] I've seen variations of this issue for years now [09:35:42] ben_alman: the actual .not() method works fine [09:35:42] is ticket priority going to be discussed in this meeting (as it was just mentioned), or left for another time? [09:35:50] addyosmani: in this meeting [09:35:52] it just sucks that time has to be spent on non-qsa selectors [09:35:59] I agree completely [09:36:06] which is why I'm not terribly enthused by this [09:36:15] is this a larger problem though? [09:36:18] patchwelcome? [09:36:24] if we leave it borked maybe people will use standard selectors :P [09:36:28] like, fuyndamental sizzle bug? [09:36:57] I remember weird bugs relating to this even before sizzle [09:37:07] it was just weird traversal issues with IE that were hard to pin down [09:37:25] in the back of my mind i am wondering who will volunteer for this suicide mission [09:37:32] i think JohnResig should [09:37:35] * jaubourg looks at John [09:37:39] lol [09:37:40] * jaubourg hides [09:37:42] there's always that patchwelcome.. [09:37:56] resigclonewelcome [09:37:56] addyosmani: +1 [09:38:02] ha [09:38:14] haha, <3 resigclonewelcome [09:38:35] patchwelcome and next then? [09:38:35] like, right now, I'd be more inclined to rewrite sizzle to extract all the non-qsa selectors and turn them into qsa-compatible stuff then fix that bug [09:38:39] so that's saying something [09:38:39] well you can put it on the list of stufff to look at and we can drop it back off if nobody has time [09:38:56] DaveMethvin: so it's not a blocker, then [09:39:04] yeah [09:39:08] ok [09:39:14] +1 complete sizzle rewrite [09:39:17] heh [09:39:17] it's not like there isn't a workaround [09:39:27] ajpiano, yeah, just don't use IE [09:39:29] next: http://bugs.jquery.com/ticket/8468 [09:39:41] similar issue, of sorts [09:39:45] only this is a problem with qsa [09:40:19] wasn't this mainly an Opera bug? [09:40:20] miketaylr said it was being addressed by Opera [09:40:22] do we have news about any fix Opera-side? [09:40:31] k [09:40:36] wontfix [09:40:39] alright, push to opera [09:40:40] ppl should avoid that selector in their code if the yahve opera users? [09:40:40] yeah, it's been fixed [09:40:43] in CORE [09:41:03] or upgrade to latest opera that fixes it [09:41:05] next: http://bugs.jquery.com/ticket/8921 [09:41:22] ben_alman: specifically using a comma selector with the right-hand selector including :selected [09:41:26] doesn't happen too often [09:41:40] JohnResig, heh and standing on your head patting your tummy [09:41:58] heh [09:42:01] JohnResig: it seems that this and 8909 are inextricably link [09:42:17] JohnResig: not specific to :selected [09:42:22] https://github.com/jquery/jquery-ui/pull/286/files [09:42:50] scott_gonzalez: that's not a qsa selector? [09:42:58] ok so we lost timmywil who's the one who -1ed 8921 [09:43:17] also gnarf explained why it was a problem immediately after to timmy [09:43:30] yes, and it makes a LOT of sense [09:43:39] like i said, it seems to part of his cleannup for 8909, which was unanimously +1'd [09:43:42] JohnResig: huh? was replying to you saying "right-hand selector including :selected" [09:43:47] ajpiano: k [09:43:53] well except for jaubourg :p [09:44:00] :P [09:44:08] scott_gonzalez: right, what you're pointing to is likely a different bug [09:44:17] really? [09:44:19] I didn't -1ed it [09:44:20] it Opera only [09:44:27] extremely similar [09:44:50] most likely opera isn't throwing ANY exeptions after a comma, even thou it has a custom selector [09:44:53] same bug probably, doesn't throw an exception on non-standard pseudo selectors unless they're the first thing passed in [09:45:01] yeah! :P [09:45:02] * miketaylr finds bug [09:45:13] next: http://bugs.jquery.com/ticket/8951 [09:45:37] looks like we're making that one not a blocker [09:45:53] miketaylr: ah, ok [09:45:54] Looks fairly low-priority [09:46:05] (querySelectorAll does not throw for an unsupported pseudo-class part of selector if there is a valid part first) [09:46:27] k, making 8951 a lower priority [09:46:39] prio doesn't seem that high i agree, also is there some way to feature detect the issue? [09:46:41] (however, fixed in Presto now... so whatever heh) [09:46:51] next: http://bugs.jquery.com/ticket/9106 [09:47:08] i hate this [09:47:16] 9106 wat [09:47:20] yeah [09:47:27] can we kill the submitter [09:47:34] yeah, so stupid [09:47:36] with an anti-html shiv [09:47:39] that looks like it was downboated [09:47:39] into the chest [09:47:46] its essentially the defaultDisplay bug, but on the html element [09:47:46] why on earth did I +1 this? [09:47:47] its dumb [09:47:55] * jaubourg checks what he's smoking [09:47:58] perhaps you were drunk, jaubourg :) [09:48:01] next: http://bugs.jquery.com/ticket/9399 [09:48:15] jaubourg: this is your baby [09:48:19] ah, touchy [09:48:31] I know why I introduced .success and .error [09:48:50] but they're confusing because people mix them with deferred semantics [09:48:55] i like the relationshipt of jqXHR.success and .error to ajaxOptions success and error [09:48:58] how hard is this really to maintain [09:49:02] i think it makes it easier for ppl to grok [09:49:04] tbh [09:49:09] scott, ben, and myself all seem to aggree about ^^ [09:49:13] it's not hard to maintain, really [09:49:18] it just allows them to put 1+1 together [09:49:19] it's two affectations [09:49:36] well like i said in the ticket, it seems like a fast deprecation [09:49:38] but it's kind of a mess [09:49:53] we encourage people to use done and fail [09:49:57] we could deprecate now and remove much later [09:49:58] yeah [09:50:03] so that they don't get surprised when using $.when [09:50:10] jaubourg, makes sense [09:50:10] ok, so deprecate - remove later [09:50:11] that sounds sensible DaveMethvin. [09:50:14] and they don't have success and error [09:50:29] too bad .done isn't .pass [09:50:36] :-( [09:50:38] symmetry and all w/e [09:50:44] next: http://bugs.jquery.com/ticket/7818 [09:50:46] success and error and such clear names [09:50:56] are such... [09:51:02] they're not what the deferred semantic means... fail !== error [09:51:13] I think we're actually "OK" now for 7818 [09:51:19] I want to close it as fixed in 1.6 [09:51:49] so would you use .prop now for plain objects JohnResig ? [09:51:55] so i forget, what things can have a plain obj passsed to them? [09:51:58] $({}).prop('x', 123) ? [09:52:05] ben_alman: yeah - and .attr() also works for that as well [09:52:12] do we still allow .attr for example? [09:52:13] I so hate the fact we support this... but meh [09:52:13] heh well of course it does :/ [09:52:19] DaveMethvin: attr/prop, animate, bind/unbind [09:52:35] like i said, i also don't like the fact that you have to jump between success and ddone [09:52:44] it would be nice to have more docs on plain objects passed to $() [09:53:04] ben_alman: yeah this was kind of a placeholder for that [09:53:18] if it's just the ones john mentioned it should be a short page [09:53:23] calling animate on $({}) would be much better done as $.animate tbh [09:53:25] ok, so I'll close it as fixed and needsdocs [09:53:33] sounds good [09:53:53] next: http://bugs.jquery.com/ticket/8405 [09:54:05] it doesn't look like anyone cares strongly about this [09:54:10] and I think yehuda is quite busy [09:54:34] yeah turnout was low [09:54:37] wontfix? [09:54:38] I can close as patchwelcome [09:54:43] i like it abstractly, seems like a low priority [09:54:46] yeah [09:54:57] i still hope we can someday explore subclassing a bit more [09:54:58] I can present newInstance as a patch you mean? :P [09:54:59] not now tho [09:55:04] i think we should take another look at it eventually though [09:55:09] not just close wontfix [09:55:22] ajpiano: ok, I'll flag for 2.0 [09:55:29] patchwelcome works too. [09:55:31] next: http://bugs.jquery.com/ticket/8792 [09:55:37] like i said on the ticket, $(".bar", thing) $(".bam", thing) can get tedious [09:56:02] iiiinteresting re 8792 [09:56:04] this kinda relates to the other two tix we talked about [09:56:08] I totally think that 8792 is feasible, especially if we just turn the global ajax stuff into special events [09:56:11] $.support.domData [09:56:21] but when i looked at it for 1.6 the global events blew it [09:56:25] 8792 seems to necessitate rewriting global events, based on what JohnResig and scott_gonzalez said in ticket [09:56:29] DaveMethvin: special events! [09:56:36] it'd be so easy with special events [09:56:38] JohnResig, we can't nuke global ajax events? [09:56:48] ben_alman: eventually.... [09:56:58] i wanted to deprecate global and move ppl towards $(document).ajaxXXX [09:57:00] oh please, nuke them already [09:57:29] you realize that today you can create an element not even in the document and fire global events on it?? scary [09:57:45] ok, how about with morph this bug into "deprecate ajax events" [09:57:46] DaveMethvin, it truly is global, sweet [09:57:57] and revisit this particular bug someday [09:58:01] sounds good [09:58:03] are there any benefits to storing all this crap in data? [09:58:05] +1 [09:58:11] +1 [09:58:11] or is it all just annoying [09:58:20] well +1 anyways [09:58:26] it's too make things more challenging, ben [09:58:28] ;) [09:58:38] sounds like we need a new ticket :p [09:58:39] next are ben_alman's bugs: http://bugs.jquery.com/ticket/4446 [09:58:47] wait, right... ben_alman? [09:58:57] they aren't mine but they go together [09:59:07] that and http://bugs.jquery.com/ticket/4596 [09:59:21] I definitely want to discuss them separately [09:59:27] .findFilter is legit useful [09:59:30] yes but i realized that if you implement .andSelf(selector) then you can do $(this).find(selector).andSelf(selector); [09:59:34] instead of .findFilter [09:59:35] :) [09:59:50] i definitely prefer having andSelf("selector") over "findFilter" [09:59:56] hmm [09:59:57] which is just ASKING for trouble as a method name [10:00:00] I have to go, like, right now, all I have to say about new helpers is this: deport them to a plugin, keep the core focussed [10:00:05] JohnResig, tell me if my logic is flawed [10:00:23] i'm not really a fan of andSelf("selector") though either [10:00:37] gotta fly guys, cya around later [10:00:41] jaubourg: +1 [10:00:41] but i guess people have made a good case for it [10:00:44] ben_alman: no, I think you're good [10:00:49] ajpiano, i think it's great. it will save people some writing and it's not like .andSelf() is "pure" in any way [10:00:50] really [10:00:50] both of there are pretty tiny [10:00:57] these* [10:01:02] ok, so andSelf(selector) could be ok, I guess I'm not a huge fan of the current solution [10:01:10] if .andSelf() somehow .end()ed the set it would be weird, but it doesn't; it creates a new set [10:01:14] so let's do yes andSelf, no findFilter - and for andSelf, think about the API more [10:01:26] k [10:01:30] cool [10:02:12] next, outerHTML: http://bugs.jquery.com/ticket/8142 [10:02:15] noooooooo [10:02:25] i'm not sure why you're so opposed to it :p [10:02:27] brandon has a plugin for that that i contributed to [10:02:29] I'll fight anyone in the thunderdome that tries to land this [10:02:34] our solution was pretty robust [10:02:40] it seems like your reservation against it is people using it in the way that no one even wants it for [10:02:57] looks like its going to be timmywil vs JohnResig [10:03:04] https://github.com/brandonaaron/jquery-outerhtml/blob/master/jquery.outerhtml.js [10:03:07] I can absolutely guarantee that people will abuse this [10:03:24] what if it just isn't a setter? [10:03:24] they'll use it in place of dom elements [10:03:40] yeah we only wrote it as a getter [10:03:55] this is just something that comes up with like, alarming regularity [10:04:01] It makes sense as a getter [10:04:03] yeah not a fan ... ben_alman does that work with table elements in ie? (Since you're wriapping them in a div) [10:04:12] the getter one is the one that I'm against [10:04:15] DaveMethvin, no idea man [10:04:18] probably not? [10:04:22] setter doesn't make sense, it's the same as replaceWith [10:04:31] right [10:04:51] i'm gonna drop off in a sec, the plane is landing and they'll shut off the wifi [10:04:53] Hypothetic: I guarantee that <24hrs after this is released, we get tickets filed that say: My $(foo).outerHTML("whatever the crap") doesnt set [10:05:02] later DaveMethvin [10:05:06] DaveMethvin: later! [10:05:10] i say -1 on outerhtml [10:05:18] bye DaveMethvin [10:05:19] -1 on the whole here too [10:05:22] -1 outerhtml [10:05:28] * DaveMethvin drops landing gear [10:05:31] just seems like [10:05:32] cya DaveMethvin [10:05:47] i donno. [10:05:51] so yes, I agree that it can be useful, absolutely - I just think the room for abuse is too high - the reason why people ask for it frequently is because they don't understand the DOM [10:05:54] it just seems like, complexity-wise, outerhtml is a lot of work [10:06:01] if it can't be done simply [10:06:02] to get right across all elements [10:06:15] lots of unit tests! [10:06:22] unittestswelcome [10:06:24] JohnResig: also because they are needing to save html strings for later re-vivification [10:06:38] but if the reaon we can't do it is like ben_alman says - complexity, screwing it up on table elements, etc. [10:06:40] then that's one thing [10:06:55] but there's a lot of things people can do wrong with jQuery - we usually try to doc those things [10:07:03] ajpiano: sure - but almost always in those cases you can get away with just storing dom node references [10:07:08] also, I can honestly say I've never had a real-world case where i thought "shit man, an outerHTML function would be awesome here" [10:07:25] rwaldron: even in building like, all that html and stuff you do for the popcorn export? [10:07:37] in Butter? [10:07:38] that's the type of situation i'd imagine it having real utility [10:07:40] ea [10:07:40] rwaldron, i must have, because i created a plugin for it [10:07:41] yeah* [10:07:44] templates [10:07:48] but i don't remember what it was [10:07:49] nice try :P [10:07:57] <3 ajpiano [10:08:18] well [10:08:19] i think i was trying to get around an IE bug with absolute vs relative href values or something [10:08:21] but it still failed [10:08:22] rwaldron +1 [10:08:23] dunnoes [10:08:25] i have fought the good fight here [10:08:26] :p [10:08:31] valiant [10:08:34] i don't think i've ever needed it either [10:08:36] outerhtml can always be a plugin [10:08:38] just... so many people have asked [10:08:40] lord knows there are many [10:08:44] ajpiano: I know :( [10:08:59] can we make a page describing why ouerHTML doesn't need to exist? [10:09:08] good idea [10:09:15] that'd be awesome - api.jquery.com/outerHTML [10:09:20] "ya,..um... no" [10:09:21] haha, let's put it in the api docs as deprecated before it existed [10:09:22] "better ways to do what you're trying to do" [10:09:23] :p [10:09:38] haha, I'm for that :) [10:09:48] "when good ideas go bad" [10:09:49] "New in jQuery 1.7: We removed outerHTML" [10:10:11] haha [10:10:17] +1 [10:10:19] now we're getting into the really contenteous bugs [10:10:20] http://bugs.jquery.com/ticket/5995 [10:10:35] breaking API, push to 2.0? [10:10:40] NO [10:10:51] sorry [10:10:53] i didn't know what to make of that bug [10:10:54] that was dramatic [10:11:05] can it, internally use filter and call the internal one swapping the args or something? [10:11:06] next: http://bugs.jquery.com/ticket/7194 [10:11:08] rwaldron i'll guess the drama was due to the ticket creator [10:11:09] http://bugs.jquery.com/ticket/5995#comment:10 [10:11:17] ben_alman: it'll be a perf hit, most likely [10:11:22] well F it [10:11:25] danheberden actually, no see my comment [10:11:32] I think .or() reads horribly [10:11:33] i didnt even know who the ticket creator was [10:11:37] JohnResig, i think .or needs more thought [10:11:42] so I think a .or() could be useful eventually, but should be proved as a plugin [10:11:42] it's cool, yes [10:11:47] JohnResig, +1 [10:11:49] rwaldron i agree [10:12:09] my +0 should have been a -1, the semantics of this are so ugly [10:12:15] JohnResig ben_alman http://jsfiddle.net/rwaldron/LNC5m/ [10:12:17] http://bugs.jquery.com/ticket/7523 [10:12:21] setting outerWidth [10:12:44] rwaldron, yours doesn't take into account .end() [10:12:52] wooo! [10:12:53] for size reference: https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.core.js#L132-174 [10:12:58] make it so #1 [10:13:34] hmm [10:13:46] that doesn't seem too bad to me [10:13:54] anyone opposed to that? [10:13:55] rwaldron, like $(sel).or(sel).or(sel).find(other).end() wtf does .end() take you back to anyways? [10:13:55] and it'd be even smaller in core [10:14:01] which JohnResig [10:14:05] 7523? [10:14:53] it'd actually be quite a bit smaller in core, at least half the size [10:14:53] it would be really sexy to support setters for all the inner/outer width/height variants [10:15:02] REALLY sexy [10:15:21] yes [10:15:27] note that it doesn't support using functions as setters [10:15:36] I left that out intentionally [10:15:44] i think it would be pretty great to land this in core [10:15:47] just use .width()/.height() if you need that [10:16:00] scott_gonzalez, why not use functions? [10:16:08] you wouldn't gain anything with functions here, unless they included the padding/border/margin info [10:16:20] next: http://bugs.jquery.com/ticket/9314 [10:16:33] $.event.fix() ? [10:16:33] .innerHeight(function(h){ return h + 10; })); // make the inner height 10px taller [10:16:34] vague dom events become jquery events [10:16:42] ben_alman: .height(...) [10:16:48] julian was the only one in favor [10:17:10] long meeting [10:17:11] julian is also in favour of unicorn puppy races, but like this, they both seem impossible [10:17:12] :p [10:17:13] and since he folds like a wet paper bag, I say we close it (hehe, jk julian) [10:17:19] JohnResig: isn't this exactly what $.event.fix() is? [10:17:25] scott_gonzalez, hmmn. ok, sure for just + 10 but what if you wanted to * 2? thaere's a difference [10:17:38] scott_gonzalez: probably - although it seems like he wanted it for all events or something vague [10:17:55] .innerHeight(function(h){ return h * 2; })); // would this ever be used? [10:18:00] next: http://bugs.jquery.com/ticket/9316 [10:18:06] delegate( null ) becomes bind [10:18:11] ben_alman: sure, that actually seems reasonable [10:18:20] that one got a MEH from me [10:18:29] seemed to get a meh from everyone [10:18:31] scott_gonzalez, i could see it for innerHeight but i dunno about outerHeight, at least for use-cases [10:18:33] my reasonsing is on the ticket [10:18:38] ok [10:18:40] we don't fix for passing undefined to other methods [10:18:45] JohnResig this ticket is precisely what dave's Unify and DRY ticket aims to elminate [10:18:55] next: http://bugs.jquery.com/ticket/9386 [10:18:58] and also dave's solution lets this guy do what he wans [10:18:59] rwaldron, +1 [10:19:14] some random deferreds request [10:19:15] .on( optionaldelegateselector, ... ) [10:19:17] * rwaldron nods at ajpiano [10:19:23] we have something similar in UI: https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.widget.js#L294-303 [10:19:31] plugin? [10:20:02] addyosmani: yep [10:20:10] is it just me or does it seem weird that the deferred that wraps a bunch of deferreds can be resolved before all its sub-deferreds are [10:20:17] http://bugs.jquery.com/ticket/7441 [10:20:18] but we don't do what he wants, which is pass all params, but have some undefined [10:20:18] as i type that, i realise it doesn't seem that weird. [10:20:24] .disable()/.enable() [10:20:30] err, .diable() and .check() [10:20:31] ajpiano heh [10:20:34] JohnResig: big time meh. [10:20:38] I don't think we need them with the new attr stuff [10:20:42] JohnResig, .attr('disabled', true) +1 [10:20:54] k [10:21:05] not disable/check please please please [10:21:05] i'd say nuke 7441 [10:21:07] meh + plugin on 7441 [10:21:18] addyosmani, no plugin needed, just use attr [10:21:18] next: oninput: http://bugs.jquery.com/ticket/9121 [10:21:33] seems like it needs more proof [10:21:37] or that. ben_alman's suggestion makes more sense. [10:21:38] agreed [10:21:48] yup, needs more vetting [10:22:12] next: browser.chrome http://bugs.jquery.com/ticket/9385 [10:22:22] suppose we should have a 1.8 tag too :p [10:22:38] we have to deprecate and remove $.browser or make it work according to users expectations [10:22:40] ajpiano: I think we an just use the keywords as a shortcut for that [10:22:41] like dave says [10:22:43] I would say no. No new additions to it if we're deprecating [10:22:59] yeah, no to this, we'll deprecate soon [10:23:10] leaving a big lump of useless shit there is even worse than leaving a big lump of vaguely useful shit [10:23:20] when is soon? [10:23:36] you can't pull it out until ie6 and 7 are totally dead imo [10:23:37] if we're keeping it core, shouldn't it at least be somewhat thorough? [10:23:41] how does adding chrome help? [10:23:41] i think moses came down from mount sinai and was like "yo, check out these tablets, ps, we're deprecating $.browser" [10:23:46] +1 to adding .chrome [10:23:47] wouldn't the version still be the webkit version? [10:23:51] At what point do we consider them both dead, though, ben_alman? [10:23:55] ajpiano: haha [10:23:57] ajpiano lol [10:24:00] scott_gonzalez because chrome is _not_ safari [10:24:00] addyosmani, 5-10 years from now tbh [10:24:12] but I'm opposed to it anyway [10:24:17] so? safari should be über-deprecated [10:24:21] $.browser.webkit [10:24:22] on the principal that adding to it encourages use [10:24:23] i just think that just because WE all know that Browser Sniffing Is Bad [10:24:24] already exists [10:24:24] OK, so if we're not deprecating then we should add .chrome [10:24:38] doens't mean people who don't know that should just be SOL [10:24:45] cause we are neglecting it in order to make it useless. [10:24:49] ^^ agree [10:24:52] scott_gonzalez yeah.. but "webkit" is still quite different from chrome [10:24:59] have you ever built webkit froim source? [10:25:06] right now I have it marked as "Yes, but with stern warnings" [10:25:08] rwaldron: sure, but if we add chrome, what version will we report? [10:25:31] see above dude, I'm not interested in adding it all [10:25:39] are we making the decision that it won't be deprecated? I just feel that updating $.browser at this point might give the impression that our intentions aren't to kill it off soon [10:25:41] i'm just saying... i get "why" [10:25:43] window.chrome = pretty reliable [10:25:46] but i dont endorse [10:25:51] that too [10:25:54] * rwaldron nods [10:26:00] addyosmani i think a bit "OMG WE'RE DEPRECATING THIS" on the api page might give a hint :p [10:26:19] as long as it's in big bold writing, right on ; ) [10:26:20] we already kind of have that [10:26:34] how about instead of depreacteing $.browser we tell people what they should be doing instead of $.browser just like with outerhtml? [10:26:36] "you will depcreciate that we are deprecating this" [10:26:48] haha [10:26:51] ben_alman: a bit less cut and dry [10:27:01] ben_alman: as we already do [10:27:05] wfm [10:27:08] and if we do that, then we should have .chrome [10:27:12] +1 [10:27:14] Dear David Mark, Happy Now? We're actually getting rid of it. [10:27:14] OK [10:27:17] i really think we should just.. have chrome [10:27:31] but yeah, we'll need to figure out the version [10:27:32] ANYWAY [10:27:39] .selector replaced with .selectors: http://bugs.jquery.com/ticket/7389 [10:27:47] :((( [10:27:56] I like this, I think it'll make it way more useful [10:28:27] although, I think it should be a different name [10:28:28] does it actually change the fundamental problem that some things can't be expressed as a selector?? [10:28:30] and not just hold selectors [10:28:35] i'm going to -1 my own ticket here and say we should do something more like #9469 where we never change the selector after the 1st selection, just pass it through, or don't pass it through at all [10:28:38] ajpiano: yes, it does fix it [10:28:57] I essentially want to store a stack of methods called with their args [10:29:01] and then we can add another prop like .methods or something if we REALLY NEED TO (we don't) that just has method names in the chain (we don't need this) [10:29:04] so that people can replay them later [10:29:06] ben_alman that sounds like a significantly better idea imo than what's proposed directly in this ticket [10:29:20] JohnResig, we don't currently store args, we store a facsimile of them in a string [10:30:13] ben_alman: I know! [10:30:14] it would probably be easy to write a "debug" plugin that wraps every single traversal/filtering method as well as .pushStack to add method names for debugging [10:30:19] which is why I'm proposing this change [10:30:28] .stack ? [10:30:32] gnarf: sure [10:30:33] and then streamline pushStack to only accept the new set [10:30:43] and remove all that code from core [10:30:51] less code in core + debug plugin [10:31:03] .stack = [ [ "find", [ "div" ] ], [ "filter", [ Function ] ] ] [10:31:15] that way yuo can do the replay [10:31:19] it'll be quite useful [10:31:23] why not do that in a plugin [10:31:38] because right now plugin authors might not be passing 2nd and 3rd args to pushstack [10:31:38] ben_alman: because it'd be better to have it baked into core [10:31:38] as long as jquery knows how to parse the stack later i guess it doesn't matter much... is the idea here to be able to support calling .live() on that second selector? [10:31:47] by making it a plugin, you could force this behavior [10:32:06] ok, I'll explore this a bit and see if we can make some minor tweaks and deprecate .selector [10:32:29] JohnResig, i'd be happy to talk thru some ideas with you and dave, we had already talked about it extensively [10:32:44] k [10:32:49] ok. last one: http://bugs.jquery.com/ticket/9347 [10:33:04] alright ajpiano [10:33:19] wait [10:33:27] i mean like, obvs i would also use a wrapper here [10:33:30] $.load or $.fn.load [10:33:40] i just think it's weird that the promise of a $.fn.load is completely unaccessible [10:33:44] even though it's "there" [10:33:53] you can get it from $.get etc, which are all very much convenience methods [10:34:05] can we treat it like .animate() [10:34:12] that's kind of what i was getting at [10:34:17] what if $.fn.load stored the jqXHR in data on the element $('div').load('url').data('ajax-load') [10:34:26] ajpiano doesn't it work like that now? [10:34:39] $.when( $('whatever').load('url' ).done(... [10:34:53] ok, I'm pro-this if it does what .animate() does [10:35:11] i'm not sure, but according to jaubourg [10:35:12] what if you're animating an element that has ajax loaded into it [10:35:22] when is it done? [10:35:29] * JohnResig shrugs [10:35:33] "For instance, by default element.promise() is equivalent to element.promise( "fx" )" [10:35:42] I didn't like this for animate and I don't like it for load [10:35:50] heh [10:35:53] ajpiano: oof [10:36:02] ok, let's drop this [10:36:09] by attaching promises to jquery objects, we're potentially limiting ourselves down the road [10:36:16] if julian ever gets excited by it, we can revisit [10:36:31] unless there's a specific prop like collection.animate or collection.ajax that is the promise [10:36:39] it's there [10:36:42] for .load [10:36:50] collection.animate.promise() [10:36:52] lemme write a better example [10:37:08] collection.promise() -> what possible async thing is that promising? [10:37:19] ok, so we've accepted 41 tickets, if I counted correctly [10:37:22] rejected 40 [10:37:34] i don't think promise("ajax") is that bad but ya [10:37:44] at some point this week I'll go through and assign them all to the right milestone and close them - unless someone else wants to help me [10:37:47] (I would appreciate it) [10:37:57] I'll help [10:38:08] rwaldron: awesome, thanks - ask me if you have any questions [10:38:13] Just will do [10:38:18] whoops [10:38:22] we've gone on for long enough, not sure if we have time for anything else [10:38:50] that was going to be "just make a list", then i realized this list was sufficient 0_o [10:39:00] jzaefferer: if the closure guys are here, tell them that if they fix it so that jQuery works with adv options, we'll be inclined to use it [10:39:10] hahaha [10:39:17] There'd be a little more too it than that [10:39:41] speak of the devil! [10:39:45] ChadHikes: ? [10:40:03] ChadHikes - > Chad Killingsworth. Member of the Closure-Compiler team [10:40:35] JohnResig, vs uglify? [10:40:37] If we have enhancement requests now, will we have to wait for 1.8? [10:40:39] nice - but yeah, let us know what needs to go where [10:40:43] Welcome ChadHikes [10:40:47] Thanks [10:40:49] louisremi: yep [10:41:06] louisremi: well, depending upon the enhancement, I guess [10:41:17] ben_alman: it's not really that we ourselves definitely would change, it's more just making it possible for jquery to be run through CC with adavanced [10:41:27] ajpiano, well that would be nice [10:41:28] right, what ajpiano said [10:41:34] OK [10:41:42] ChadHikes: keep in touch, let us know if you have any questions [10:41:44] OK [10:41:48] I think that's it everyone [10:41:52] whew* [10:41:53] !! [10:42:02] THANKS EVERYONE! [10:42:06] thx u [10:42:17] we'll assign people to issues next week [10:42:22] and get it sorted out [10:42:31] alright [10:42:34] if you want to claim one, go to town [10:42:41] alright - have a good week everyone!