[09:01:21] yay [09:01:27] give me just a couple of minutes [09:01:33] in the meantime, sound off! [09:02:42] Oi! [09:03:20] m_gol gnarf whoever else [09:03:26] gotta make an agenda [09:03:32] yo [09:04:58] ok ... light turnout today [09:05:06] but i really love the people who are here [09:05:10] quality not quantity [09:05:30] heh [09:05:35] present [09:05:51] I think there is some discussion going on in https://github.com/jquery/api.jquery.com/pull/530 that more people should weigh in on [09:05:52] also [09:05:59] please read my email about the pull request drive [09:06:01] :) [09:06:28] i'm glad you're doing that, although my inbox is swollen so much now [09:07:10] having the CLA checker will help a lot there gnarf, such a pain to have to wait for that [09:07:33] DaveMethvin: agree - I was thinking that there is another way we could do that [09:07:35] altho i'd prefer we could just have a click-wrap license above the PR process so we didn't need a separate cla process [09:07:50] github would need to do that for it to work tho [09:08:02] Might be something arschmitz and I can look at [09:08:27] I heard my name [09:08:33] i'd just like gh to make a simple change for that [09:08:37] we have a jquerybot user that could add comments on failed CLA and also add/remove a tag [09:08:42] the fewer complex processes on our side the better [09:09:12] gnarf: scott_gonzalez and i discussed this already [09:09:12] i think we can get the people who care to agree that a click-wrap license is adequate [09:09:20] scott_gonzalez: has a proof of concept already too [09:09:21] DaveMethvin: have we reached out and ask them yet? [09:09:31] github? not here [09:09:35] we just talked about it last week [09:09:47] in relation to the picture polyfill [09:09:52] but it would nice to have it a forced part of the PR process rather then a bot [09:10:07] I'm actively working on it. [09:10:18] See https://github.com/scottgonzalez/temp-test/pull/4 [09:10:32] scott_gonzalez: cool - I can offer some help on it if needed [09:11:08] https://github.com/jquery/contribute.jquery.org/issues/95 [09:11:15] Yeah iv already said im happy to help to [09:11:28] gibson042: i agree that no space makes the precedence clearer [09:11:42] i.e. the last comment? [09:11:47] yeah [09:12:12] but maybe markelog is right about needing a full grammar for this :) [09:12:28] jscs should add a parser :) [09:12:32] heh [09:12:56] Esprima won't help here ;) [09:13:07] so are we spacing out everything then? I had some of these doubts when i did that big comment commit a while back [09:13:19] RE: Support comments, I think we've painted a few bike sheds there now -- We've looked for all the edges... [09:13:28] Consistency - spaces around everything seems bests [09:13:46] I agree [09:13:46] we wouldn't write 9-11 in js, we shouldn't write it in the comment either [09:13:49] really Android 2.3 would be fine for me since anything < is pretty damn old now [09:14:15] yeah we'd just write -2 :) [09:14:44] or +new Date() [09:15:30] here's a docs one https://github.com/jquery/api.jquery.com/pull/530 [09:16:25] i don't really want two unrelated things on the same symbol, that seems bad [09:16:38] DaveMethvin: .ready ? [09:16:46] jQuery.ready [09:17:40] the reason we created .holdReady was to keep from documenting .ready in a bizarre way [09:17:50] sorry to be that late [09:17:55] it's a function, but we're adding the promise functionality to it [09:17:57] hey JamesMGreene [09:17:59] jaubourg: [09:18:00] dug [09:18:11] aubourg, james aubourg [09:18:19] (music ensues) [09:18:21] No worries [09:18:22] functionunction [09:18:28] hehe [09:18:29] o/ [09:18:37] the other thing that occurred to me is [09:18:44] we could make jQuery.ready the promise [09:18:51] and move the internal function to another name [09:18:59] no, because it would mean we create it at load time [09:19:02] which we don't [09:19:25] I don't really see the problem with jQuery.ready.promise tbh [09:20:19] (you're so glad I'm here, arent you guys :P) [09:20:23] * jaubourg dances [09:20:48] it just seems strange to append that functionality to a function users aren't supposed to call [09:20:54] it's the magic of $.when looking for "promise" [09:21:04] that makes it magic [09:21:17] we can just document $.when( $.ready ) and be done with it [09:21:32] we don't document it's a function nor that is has a promise method [09:21:40] looking for a .promise() function is part of jQuery's deferred $.when that lets you not create the promise until you need it [09:22:25] just thinking about what this might imply for modularity [09:22:31] "If you have the Deferred module, and the ready module, you can also use $.when( $.ready ) to get a promise" [09:22:38] for example, do we support ready without Deferred? [09:22:42] right [09:22:46] there's a ticket for that [09:22:51] I believe I'm assigned to it [09:23:07] * m_gol drumrolls [09:23:15] if we use the new .then() we get the error handling "for free" now which is good [09:23:26] https://github.com/jquery/jquery/issues/1778 [09:23:34] if "for free" means selling our debugging rights souls [09:24:02] yeah, there are some sticky probs to solve [09:24:18] try { myEntireProgram() } catch( e ) { /* ignore any error */ }... gotta love "solutions" like this [09:25:08] oh come now it wouldn't be ignored, more like console.log("there was an error") :) [09:25:12] anyway, is ready still a thing nowadays? I thought people put their javascript at the end of the body now? [09:25:35] i think most people should but there's a lot of plugins out there that auto-run on ready [09:25:42] jaubourg: up until recently it didn't prevent some of our support tests to return incorrect results [09:26:11] * from returning [09:26:19] m_gol how about if we return to this question once you have looked at how 1778 is going to be solved? [09:26:26] ideally we'd have the promise on jQuery.ready [09:26:36] k [09:26:41] hey markelog [09:26:53] hey-hey, sorry i'm late, work stuff ( [09:27:18] did i miss something intersting? [09:27:46] check the notes, i think we're good [09:27:51] https://github.com/jquery/jquery/issues/1956 [09:28:43] oh i meant to check what templating libs do there [09:28:55] it seems wrong to use the .html() method on the inside of a script tag [09:28:58] so, in jQuery 1.10 .css('width') produced incorrect results if run before document ready, even if scripts were put at the end of body: http://bugs.jquery.com/ticket/14084 [09:29:15] yeah, b/c of the delayed feature check [09:29:17] so it was important to wrap in $(doc).ready [09:29:25] so that's not ancient past ;) [09:29:31] but now it shouldn't be a problem [09:29:53] I hope [09:30:34] Trac got fast when we stopped using it [09:30:39] yeah! [09:30:53] i'm going to mention a few tickets here just to see if we can clean them up [09:30:54] https://github.com/jquery/jquery/issues/1953 [09:31:28] nothing back from that guy but i'm guessing it was using some aggressive settings [09:31:48] possible [09:31:53] so i'm going to close it and he can reopen if it turns out to be something we shoud worry about [09:31:57] we can't protect ourselves from that then [09:33:02] not in general, true [09:33:08] eh [09:33:14] we can test against other minifiers [09:33:18] if it were something that a lot of people did we could change the code [09:33:21] and more agressive settings [09:33:28] we don't need a "noteabug" label, right? [09:33:29] sure, but aggressive settings are just that - aggressive settings [09:33:40] i don't think we need notabug [09:33:45] by default it's not a bug :) [09:33:53] I don't think we should work with all minifiers with no matter how aggressive options enabled [09:34:05] imagine our test matrix, we'd need to run unit tests with a bunch of minified copies [09:34:11] many of which we never shipped [09:34:18] it's like we're shooting ourselves in the foot by trying to not get minified as much as possible [09:34:25] it's possible, just not practical [09:34:32] sure [09:34:47] i bet it's something jdalton would do ;) [09:34:54] i remember there was a problem with minifier that was used by some German celuiar network on the fly long time ago [09:35:05] yep, and we worked around that [09:35:05] also, it's always possible that jQuery concatenated with other libs and minified only then behaves differently with some more aggressive options [09:35:16] so, in fact, it's even not possible to test against such problems filly [09:35:18] * fully [09:35:24] yeah, but it seems test on different mifiers is overkill [09:35:25] but we need to know about it and if it's an isolated incident then we tell them to change [09:35:34] they probably should test their stuff on jQuery [09:35:42] if it's a cell network that all of Germany uses and can't change, then we can work around [09:36:00] ^ [09:36:51] just a quick look at the pulls to see if anything needs discussion there [09:36:54] right, it smacks of https://github.com/jquery/jquery/blob/d6c97abb744bfe8c67ab9158aecdb5bb1c05e47b/src/ajax.js#L39 [09:37:16] i need to review some of those, looks like markelog submitted a few new ones [09:37:30] small ones :-) [09:37:43] any remarks on my PR? https://github.com/jquery/jquery/pull/1949 [09:37:55] btw, I've just got an e-mail from some Polish guy [09:38:13] oh, want to check that one out, could wait until tomorrow? [09:38:14] that he now has problems as the 2.1.3 tag has jsdom in dependencies and that requires python & some other build stuff present [09:38:16] m_gol: that looked good to me, would like to see it land [09:38:19] markelog: sure [09:38:22] cool [09:38:38] I was kinda worried about that [09:38:49] but if we want to smoke-test against jsdom, we have to include it [09:39:04] as a devdependency tho right? [09:39:08] and there are no optionalDevDependencies so far [09:39:18] yes, but I suspect he was building jQuery or sth [09:39:24] ugh [09:39:59] well let's land it and we can always make changes later [09:40:21] the scrolltop/left one looks good to me as is, i think we should stay with the old expects() until we change to qunit 2.0 style [09:40:28] ok, I'll just wait for markelog's review [09:40:38] yep [09:40:55] although i ddin't actually run tests on it [09:41:04] ah, one thing [09:41:14] I'd like some input about that: https://github.com/jquery/jquery/pull/1949#discussion_r22066715 [09:41:31] you can also read the whole thread [09:41:39] DaveMethvin: if you didn't, i can make couple of runs and merge it if there is no problems with it [09:42:13] m_gol: yeah, that is why i want to check it out ) [09:42:23] ok i'll let markelog do the hard work :) [09:42:35] so, if we go for a separate test task and still have the test_fast one, we'll have it invoked twice on TestSwarm - it's not a big problem as they're fast but I'd like to hear thoughts of others [09:42:35] today is crazy for me [09:42:38] a boring one ) [09:42:56] if it's fast there's no problem running it twice [09:43:03] as long as we get it to pass both times :) [09:43:17] seems weird though [09:44:01] yeah, maybe it's just that it feels weird than that it's an actual problem ;) [09:44:14] another possible way would be disjoint test_fast and test_slow [09:44:26] but I'm also ok with running explicitly fast tests twice [09:45:05] now that we're smoke testing npm i'd like to smoke test xhtml as well at some point [09:45:18] but yeah [09:45:23] its not a big deal if its fast [09:45:25] for that even one browser would be good [09:45:30] DaveMethvin: it would be fun if we would smoke test xhtml with phantom ) [09:45:32] it's 500 ms [09:45:41] maybe phantom 2.0 [09:45:51] PhantomJS 1.x XHTML bugs - sounds yummy! [09:45:52] phantom 1.x is a smoke test by itself [09:45:57] they gonna release soon? [09:46:04] Phantom will smoke the test out [09:46:05] probably not :) [09:46:16] it doesn't even build on OS X currently [09:46:50] neither 1.x nor 2.0 :P [09:47:03] so how we would test xhtml? [09:47:04] we need real headless chrome, firefox, ie [09:47:23] i'd say just a single basic xhtml file with a few methods called [09:47:31] DaveMethvin: why not a real browser? [09:47:38] to ensure we didn't do anything super dumb [09:48:03] DaveMethvin: would be easy if we could do that with karma [09:48:14] so much to do, so little time ( [09:48:21] yeah [09:48:51] alright, any other high priority things we should discuss? [09:49:06] let's just get some of these PRs landed and knock down the issues [09:49:13] not a high priority [09:49:21] i should be able to get to some later in the week [09:49:22] did we ever discuss code coverage? [09:49:32] no but we should at some point [09:49:39] i'd love to do that [09:49:52] i was thinking that we depend on the environment a lot [09:50:06] and that might interfere with it [09:50:07] would be quite simple when we test in node [09:50:27] yeah, covering support workarounds won't be easy ;) [09:50:34] yeah i don't mind if it's not perfect, we definitely would skip some of the support paths [09:50:37] like, how some tool will react? [09:50:46] if some win property doesn't exist [09:51:07] but we have a check for it [09:51:11] if the unit tests work, then coverage tools will [09:51:23] maybe we could mock the support object and run multiple times [09:51:43] how about i will create a ticket for it? [09:51:48] sounds good [09:51:58] aren't we supposed to CLOSE tickets? :P [09:52:02] we don't do code coverage for any jquery projects right? [09:52:10] )) [09:52:11] not that I know of [09:52:13] i vote we have jaubourg close the tickets :) [09:52:31] WONTFIX WONTFIX WONTFIX [09:52:32] i don't think any jquery does right now [09:52:40] last time I was checking coverage in Karma it was generating correctly in Fx; Chrome gave empty output [09:52:52] so I guess we could have fun with some older browsers ;) [09:52:57] "fun" [09:53:03] "fun" indeed ) [09:53:13] if we wanted to run it everywhere [09:53:14] ;) [09:53:47] m_gol: but we need a karma for it, right? [09:53:52] yes [09:53:58] or only jsdom? [09:53:59] I mean, for this specific one [09:54:07] but it could be done without Karma [09:54:25] damn, gotta fly guys [09:54:28] there should be some tools working with jsdom [09:54:31] see ya! [09:54:32] ok then, let's try to get as much done as we can, but be sure to have a great time over the holidays ... [09:54:36] but that might be a dark corner... [09:54:49] coverage on jsdom when a lot of its mock APIs are not working correctly for sure [09:54:52] cya around, I'll try to derail PRs and Issues a little more in 2015 :P [09:54:52] i'll be around if you need me, maybe a bit slow to respond [09:54:55] okay, will talk more in the ticket [09:55:13] but i should be around for a meeting next monday as well [09:56:41] I might not be terribly available until the end of the year [09:56:43] too many deadlines [09:57:25] no problem, we'll leave plenty of work for you m_gol [09:57:26] :)