**** BEGIN LOGGING AT Sat Aug 04 02:59:58 2012 Aug 04 03:11:17 Wow Aug 04 03:11:24 Villo is all the way up to 44kb. Aug 04 03:12:21 No way, it's halfy! Aug 04 04:09:32 So does anyone know of a reliable way to remove/destroy controls? Aug 04 04:09:53 destroyComponent? Aug 04 04:10:37 I get a weird error about isAnimating (isAnimated?) when I use that and I have to force a render, but it doesn't remove them from the DOM Aug 04 04:11:01 destroyClientControls seems to work better but also isn't removing them from the DOM Aug 04 04:11:28 You have to call render on things after you alter the component tree. Aug 04 04:11:29 I've also tried iterating over the children array of the parent control and using removeChild Aug 04 04:11:50 destroyClientControls doesn't require it Aug 04 04:11:54 (render) Aug 04 04:12:12 For reals? Aug 04 04:12:14 Interesting. Aug 04 04:12:15 It does it automatically, however they don't get actually removed, just hidden or something Aug 04 04:12:33 Try calling render on a higher element. Aug 04 04:12:34 So when I try to create new controls I get errors (because the new controls have the same name) Aug 04 04:12:45 Hmm Aug 04 04:12:46 Weird. Aug 04 04:12:50 I've never had those issues. Aug 04 04:12:56 Well warnings, but also they don't render properly Aug 04 04:13:20 goto http://therealklanni.github.com/kanbanana and click a few times on the listed projects Aug 04 04:13:26 You'll see what I mean Aug 04 04:14:41 No projects show up for me. Aug 04 04:15:15 Refresh? Aug 04 04:15:28 It's just loading json from a file Aug 04 04:15:55 Oh, oops, hang on Aug 04 04:16:01 Something didn't merge properly Aug 04 04:16:24 brb Aug 04 04:16:43 Okay. Aug 04 04:21:28 omg my mouse won't click anymore lol Aug 04 04:22:56 and now it's working Aug 04 04:22:59 weird Aug 04 04:23:07 OK fixed the demo, try now Aug 04 04:25:55 Watch the console, that's the best I've come up with so far Aug 04 04:26:10 But it still complains they already exist when it rebuilds them Aug 04 04:27:18 I'd need to see the code to fix it. Aug 04 04:27:36 The reason it's wrapped in a while statement is because (for whatever reason) enyo.forEach (which calls Array.forEach) only iterates over half of the array Aug 04 04:27:36 And just like that, there's the source. Aug 04 04:27:50 Yeah you should be able to see the source Aug 04 04:27:56 Look in Project.js and Board.js Aug 04 04:28:09 Why are you using the master object? Aug 04 04:28:17 What do you mean? Aug 04 04:28:24 enyo.$ Aug 04 04:28:43 Because it was the quickest way to reference the object Aug 04 04:28:57 If there's a better way, I'm all ears Aug 04 04:29:02 Events. Aug 04 04:29:25 Elaborate? Aug 04 04:30:13 I just started on enyo a week ago, so I haven't learned all the ins and outs yet. The tutorials only show you so much. Aug 04 04:30:39 on tap, bubble an event up, add a handler wherever the board and the project meet. Aug 04 04:30:42 Then waterfall it down. Aug 04 04:30:47 Or use signals, if you're lazy. Aug 04 04:31:05 Never use enyo.$. Aug 04 04:31:30 I'll do that. Can you point me to an example? Aug 04 04:31:58 https://github.com/enyojs/enyo/wiki/Event-Handling Aug 04 04:32:10 Cool thanks :) Aug 04 04:32:26 Also, don't use new Board. Aug 04 04:32:30 use create Component. Aug 04 04:32:44 so wherever you implement kanbanana_panels. Aug 04 04:33:01 Ah ok Aug 04 04:33:05 this.$.kanbanana_panels.createComponent({kind: "Board"}); Aug 04 04:33:20 That makes more sense Aug 04 04:33:31 Still acclimating to enyo's style Aug 04 04:33:37 You'll get used to it. Aug 04 04:34:02 Also Aug 04 04:34:09 When I do it that way, do I just include the other object params in there as well? Aug 04 04:34:12 With things like xhr, you can chain it and get rid of the local variable. Aug 04 04:34:22 Oh good to know Aug 04 04:34:29 Yeah, just as if you were adding it in the components block. Aug 04 04:34:47 Also, example: new enyo.Ajax().response().go() Aug 04 04:34:53 Does enyo have anything analagous to jQuery.extend? Aug 04 04:35:22 enyomixin Aug 04 04:35:34 Ah ok Aug 04 04:35:38 enyo.mixin(target, source); Aug 04 04:35:49 Copies custom properties from the source object to the target object. Aug 04 04:35:50 I was looking for that earlier couldn't figure out what it was being called Aug 04 04:36:27 When in doubt, check the source. Aug 04 04:36:36 Object manipulation is in kernel/lang.js Aug 04 04:36:49 Also, it has a handy enyo.isArray function Aug 04 04:36:53 you don't have to call instanceof Aug 04 04:36:58 Awesome Aug 04 04:37:14 You're chock full of helpful advice :) Aug 04 04:37:50 Haha, I've been here a while. Aug 04 04:37:54 It shows Aug 04 04:38:06 I'm not even close to some of the people here in terms of knowledge though. Aug 04 04:39:43 Well I think I'll work on refactoring some of that code, following your advice, and come back to the control/component issue later Aug 04 04:39:57 Thanks for the help Aug 04 04:44:33 trying to use a FittableColumns item to go in a List, the item I set fit: true for gets width: NaNpx when i look in firebug. beginners mistake? Aug 04 06:31:07 Hi #enyojs Aug 04 06:45:50 hi Aug 04 17:03:37 Oh man, enyo hackathon is gonna be fun today :) Aug 04 17:43:06 I'm writing an example of VilloJS + Enyo Aug 04 17:43:18 Should I use Onyx or not? Aug 04 17:47:02 why note Aug 04 17:47:03 not* Aug 04 17:47:15 Alright, I'll do it! Aug 04 17:47:17 Also Aug 04 17:47:27 MoreToolbar and Fittable doesn't seem to work. Aug 04 17:47:44 >< Aug 04 17:47:50 someone needs to make a fittable tutorial Aug 04 17:47:58 why? Aug 04 17:48:18 bc everyone always asking about it lol Aug 04 17:48:28 Heh, I understand it just fine. Aug 04 17:48:38 The MoreToolbar kind just doesn't work with it. Aug 04 17:48:47 Well, at least not with it as a layoutKind. Aug 04 17:49:53 oh Aug 04 17:49:58 hrm Aug 04 17:50:02 * fxspec06 shrugs Aug 04 17:50:09 i have faith in you Aug 04 17:50:15 Also, VilloJS just got full presence support :) Aug 04 17:50:21 full presence? Aug 04 17:50:26 Users in a room Aug 04 17:50:32 It works. Aug 04 17:50:35 sweet! Aug 04 17:51:04 I had a buggy implementation with villo.presence.join and get, but now PubNub supports it. Aug 04 18:55:03 hallooo from #enyohack Aug 04 18:59:32 hello in tvland! Aug 04 18:59:33 Greetings from the Enyo Hackathon. We're running this on the big screen here in the hackathon room. Aug 04 19:01:41 enyo_hackathon: Hello world! Aug 04 19:02:24 weeeeeee Aug 04 19:02:36 brb Aug 04 19:08:45 o hai enyo_hackathon! Aug 04 19:13:00 enyo.kind({name: "Hackathon", components: [{name: "hackers", kind: "People"}, {name: "enyojsTeam", kind: "Gods"}], create: function() { this.letTheFunBegin(); }, letTheFunBegin: function() { this.$.enyojsTeam.clone(this.$.hackers); } }); Aug 04 19:17:17 be back soon! Aug 04 19:29:29 woooooooooo Aug 04 19:40:45 Just got our first pull request of the day from Ryan J Duffy! Aug 04 19:43:50 woo! Aug 04 19:45:06 rrix: Are you there? Aug 04 19:45:13 Yup Aug 04 19:45:51 Nice Aug 04 19:45:54 Yeah Aug 04 19:46:01 hanging out with dkirker right now Aug 04 19:46:03 * rrix waves Aug 04 19:46:03 How's the hackathon set up? Aug 04 19:46:21 kesne: We did some presentations, now there's just a bunch of tables set up for people to do Cool Things Aug 04 19:46:26 then eventually showing off Cool Things Aug 04 19:46:37 Ah, I see. What's the pull request jazz about? Aug 04 19:47:03 kesne: Every time someone does a pull request on enyo core, there's a bell that' rang, and they get an enyo patch Aug 04 19:47:07 "a patch for a patch" Aug 04 19:47:13 Ah Aug 04 19:47:21 If I was there, I'd pull request the shit out of that. Aug 04 19:47:25 like, an iron on patch (or stitch on?) Aug 04 19:47:38 It's a good stitch-on patch Aug 04 19:47:43 :) Aug 04 19:48:03 I've got one myself, we just didn't have an enyo overshirt in my size. Aug 04 19:48:27 Those shirts are stylin' Aug 04 19:49:33 Heh, yeah. I've got a really nice military-style leather coat at home which'll look nice with the patch too. Aug 04 20:01:11 We Aug 04 20:01:30 We're going to send out patches to people outside the hackathon who do pull requests today too Aug 04 20:01:39 so don't be shy! Aug 04 20:23:56 submitted a pull request! Aug 04 20:24:33 https://github.com/enyojs/enyo/pull/127 -- doesn't quite do much, but hey gotta start somewhere Aug 04 20:44:03 new patch from lwu just pulled! Just pulled the fix! Aug 04 20:44:49 Is there anyone working on phonegap, who has replaced the infinite scroll usually used by iscroll.js with enyo? Aug 04 20:45:05 I'd love to see a good bottom navbar example in enyojs implemented onto iOS Phonegap Aug 04 20:47:19 not entirely sure what you're asking about there romyilano Aug 04 20:51:35 Almost 2PM -- 4 hours of hacking left before presentations start. Aug 04 20:51:51 romyilano: you mean using an enyo.Toolbar? Aug 04 20:52:23 enyo_hackathon: When do we have to submit pull requests by? Aug 04 20:52:59 kesne: anything today will be fine... we'll likely do the patch-for-a-patch thing for a while after the event Aug 04 20:53:10 enyo_hackathon: Okay, awesome! Aug 04 20:53:31 @reyawn - hey i'ld like to try out the toolbar. there's a template for the toolbar Aug 04 20:53:41 @reyawn the enyojs.com/sampler has a toolbar Aug 04 20:54:28 @romyilano yes,nthat should work. Aug 04 20:56:46 @reyawn yeah the toolbar is something the enyo evangelists should point out -- it's a good solution for phonegap + ios apps i think Aug 04 21:18:35 What is Arthur doing here? Aug 04 21:18:59 kesne: supporting the hackathon-ers ;) Aug 04 21:19:18 Psh Aug 04 21:19:28 I would be there if you guys paid for my ticket... Aug 04 21:19:36 Another pull request accepted: Gagan Basandra, you get a patch! Aug 04 21:19:59 PATCH! PATCH! PATCH! PATCH! PATCH! PATCH! PATCH! PATCH! Aug 04 21:20:20 Psh. Aug 04 21:20:54 Jordan: put together some enyo patches and maybe you'll get yourself an enyo patch :) Aug 04 21:21:08 Patch-a-thon? Aug 04 21:21:12 I don't know what to do! Aug 04 21:22:09 kesne: look through our Enyo Jira and find a bug to fix. Or perhaps you know of a bug you wanted fixed or a feature you want added. Then do that and submit a pull request Aug 04 21:22:37 ArthurThornton: Maybe I'll play with retina graphics. Aug 04 21:23:59 enyo.retinafy (I hate that word) Aug 04 21:24:24 I'll just make similar 2x graphics for the few images in onyx. Aug 04 21:24:38 Because you guys don't post the psd or anything, I'll be guessing. Aug 04 21:37:44 There Aug 04 21:37:46 Pull request. Aug 04 21:37:48 To Onyx. Aug 04 21:41:18 ok there are some nice toolbar sample files in the enyo bootplate under lib/onyx/samples Aug 04 21:41:38 and then they taught me, be careful of doing google searches on enyo becausey ou might be looking at enyo 1.0 documentation not the newer 2.0 Aug 04 21:42:01 I'm putting enyo into phonegap / cordova 2.0 right now to learn Aug 04 21:44:49 so when does the hackathon start? i gotta pick who to cheer for Aug 04 21:47:10 looks like kesne just earned his wings... er, patch! Aug 04 21:47:31 * lwu_ claps Aug 04 21:50:03 kesne: We rang a bell and everyone clapped over here. :) Aug 04 21:50:27 Yay! Aug 04 21:51:33 What else can I do. Aug 04 21:51:35 Suggestions? Aug 04 21:51:39 Things! Aug 04 21:52:03 That's not vague at all. Aug 04 21:52:03 Lots and lots of stuff! And some things! Aug 04 21:53:39 Where can I find allergy medicine? Like benadryl or something Aug 04 21:58:06 @rrix: There's a Lucky supermarket at Maude and Mathilda Aug 04 22:03:00 Woo Aug 04 22:03:05 MoreToolbar with fittable! Aug 04 22:04:49 yeah the enyo toolbar is nice Aug 04 22:04:55 i'm squishing the enyo toolbar into hponegap Aug 04 22:08:21 ugh, time for a trip to the home depot. test lab is getting too hot. need a fan! Aug 04 22:11:53 And there we go. Aug 04 23:01:53 Two hours to go! The excitement in the room is palpable. Aug 04 23:13:29 are we supposed to sign up somewhere to demo? Aug 04 23:16:06 hi all Aug 04 23:16:41 I have a potentially very long list that I'd like to have individually modifiable elements in each row Aug 04 23:16:57 is there a good way to manage this? Aug 04 23:19:23 summatusmentis: no Aug 04 23:19:44 it's tough with Lists, but easy with Repeaters Aug 04 23:30:03 individually modifiable elements? Aug 05 01:16:12 presentation will start in a moment, I'll tweet the URL Aug 05 02:05:37 i saw no such tweet :| Aug 05 02:51:29 * DougReeder waves hello **** ENDING LOGGING AT Sun Aug 05 02:59:59 2012