**** BEGIN LOGGING AT Thu Jul 04 02:59:59 2013 Jul 04 08:08:20 Trex005: we have the same thing here, we've chosen enyo aprox 10 months ago. And are building something quite extensive Jul 04 08:08:32 but there's not a much to be found on ENyo Jul 04 08:09:52 we're building an online tool to create interactive lessons, for schools Jul 04 08:10:04 nothing live yet Jul 04 08:15:53 I think enyo could be great. But it would need a lot more online presence Jul 04 08:16:20 there are virtually no (good) tutorials online Jul 04 08:16:54 there's a complete lack of enyo on the biggest webdesign / development communities Jul 04 08:17:22 if the enyo team would tackle that, it could do a lot of good for the framework Jul 04 08:19:29 but then again, if this channel is any indication of the activity on enyo… Jul 04 11:45:34 I have a new puzzle for you guys http://stackoverflow.com/questions/17469449/enyo-animating-a-listitem Jul 04 12:09:48 I don't like the animate class for easy things Jul 04 12:10:16 why not just create a class that has width on 100%, and animate the width in CSS Jul 04 12:10:26 in CSS that is Jul 04 12:11:21 .animBar{ Jul 04 12:11:22 position:absolute; Jul 04 12:11:22 right:0; Jul 04 12:11:23 top:0; Jul 04 12:11:25 height:100%; Jul 04 12:11:27 width:10%; Jul 04 12:11:29 background:green; Jul 04 12:11:31 transition: width 0.5s; Jul 04 12:11:33 } Jul 04 12:11:35 .animBar.full{ Jul 04 12:11:37 width: 100%; Jul 04 12:11:39 } Jul 04 12:11:41 like this Jul 04 12:12:04 and then, in Enyo just toggle the CSS-class "full" Jul 04 12:13:52 It won't animate then I guess.. Jul 04 12:16:27 I could do it with css transitions too but I like to have my animations in my js code so I can easly change or bind them Jul 04 12:24:18 joopmicroop: console.log(this.text, this.$.backBar.getComputedStyleValue('width'), animObj.value+'%', this.$.backBar.hasNode()); Jul 04 12:24:29 item1 undefined 61.573800070000004% false Jul 04 12:24:56 during the animation it looks as if the backBar hasn't got a node Jul 04 12:25:14 so that's something you should look into Jul 04 12:25:16 :) Jul 04 12:29:43 did you paste this in the animate function? cause when I paste this console.log below the if of the animate function of listItem then the animation works.. which makes it even stranger Jul 04 12:33:30 in the animate function Jul 04 12:33:40 yeah got it my fault Jul 04 12:36:09 but still paste the console.log in the animate function of listItem and it works... which is even stranger behavior in my opinion Jul 04 12:37:42 didn't get it that you ment the onStep of animator but saw it of the animObj that was missing in the animatefunction Jul 04 12:39:14 the nodes get created on create of the listItem right? so when I call animate on click of the listItem, they should already be there right? Jul 04 12:48:04 that seems indeed how it should be Jul 04 12:50:02 I tought maybe there's a rerender caused by the onSetupItem that maybe resets these node, but that's just guessing Jul 04 12:53:55 I'm actually out of ideas, maybe HaDAk| has something on this? Jul 04 12:54:28 * HaDAk| doesn't know anything about anything Jul 04 12:54:43 :p Jul 04 12:54:56 I'm giving up hope here ^^ Jul 04 12:56:03 mabe a suggestion for an alternative way to achieve this (without css transitions) Jul 04 12:56:51 I've been trying alot of alternatives the last 2 days to accomplish this but maybe I'm just looking at it wrong Jul 04 12:58:48 what are you trying to transition? Jul 04 12:59:45 a bar in a listItem named backBar http://stackoverflow.com/questions/17469449/enyo-animating-a-listitem Jul 04 13:03:06 i don't know enyo well enough to do this Jul 04 13:03:10 :( Jul 04 13:03:34 why did it make all the bars green when i dragged the viewport on the jsfiddle? lol Jul 04 13:04:52 because it seem to generate the animate for all listItems in the flyweight pattern of the list.. which doesn't make sence eather for me because I'm using performOnRow Jul 04 13:05:48 that's why I tought there maybe was a clash between the onSetupItem render and the performOnRow followed by the renderRow Jul 04 13:07:13 look at your jsfiddle Jul 04 13:07:17 click the jshint button at the top Jul 04 13:07:20 there are tons of errors Jul 04 13:07:32 you need to fix those before things start behaving properly Jul 04 13:09:09 those are just the unnecessary ending commas, but with or without them it's still valid. Those are lint warnings, not errors... Jul 04 13:09:31 it's talking about missing parens, and other stuff at the bottom Jul 04 13:09:52 i really think there's a problem there Jul 04 13:10:03 maybe pjetr can offer more suggestions on fixing that Jul 04 13:10:44 http://jsfiddle.net/6GJs4/1/ there fixed the JSHint for you Jul 04 13:11:13 I don't see anything about missing parents, maybe you've changed something? Jul 04 13:12:30 shit, hang on. work just got crazy. 3 cases updated at once :| Jul 04 13:14:35 Where's Ben Combee when you need him :P Jul 04 13:30:02 nobody got a solution or alternative? Jul 04 13:30:11 i'll look more when work settles down :P Jul 04 13:30:19 i have a couple ideas. need to play with it though. Jul 04 13:30:19 ah ok :) Jul 04 13:30:25 k tkx Jul 04 13:30:34 but work pays me, and you don't. so work gets my attention first ;) Jul 04 13:30:50 sure I can understand that :D Jul 04 13:34:34 hey guys Jul 04 13:41:26 hey liri :) Jul 04 13:41:34 how's it going? Jul 04 13:41:59 enyo is giving me headaches again :) http://stackoverflow.com/questions/17469449/enyo-animating-a-listitem Jul 04 13:44:22 I found out about enyo just recently :) Jul 04 13:45:14 I actually wanted to exchange some thoughts regarding enyo on mobile (smartphones/tablets) by integrating it with phonegap (or anything else if you can recommend something better) Jul 04 13:45:46 it seems that enyo isn't that popular and I found it 'by mistake' while googling for some platform alternatives to jquerymobile and such Jul 04 13:46:34 never worked with phonegap in conjunction with enyo but it's supported Jul 04 13:46:34 enyo has a storied history, but it can pull off the job Jul 04 13:46:58 I can say that mobile websites in enyo work great Jul 04 13:47:12 has anyone tried working with enyo on mobile devices though? (not mobile apps where you browse to using a smartphone) Jul 04 13:47:52 I have Jul 04 13:48:12 enyo was used almost exclusively on the pre/pre2/pre3/touchpad etc Jul 04 13:50:35 if you build big webapps then sometimes if you don't watch the render calls then enyo can go slower on mobile devices but that's just an indication of inpropper use of the render calls in enyo. So that's easly fixed Jul 04 13:51:18 but otherwise it's super handy to have a webapp for desktops and with the same code have the same for mobile devices Jul 04 13:52:51 cool Jul 04 13:52:54 altough you has an api viewer at http://enyojs.com/api/ I think enyo could use some more documentation here and there Jul 04 13:53:04 what did you use to run the mobile app if not phonegap? Jul 04 13:53:26 just a webserver like any other website Jul 04 13:53:54 ah so you mean you didn't use an actual application but rather just using the browser? Jul 04 13:54:06 yes Jul 04 13:55:03 I've looked in the app store (google/apple) on showcase enyo based apps but most comments say that the app is slow Jul 04 13:55:15 though I've no idea, maybe those enyo apps used old versions Jul 04 13:58:54 probebly or like I said inproper use of the render calls Jul 04 13:59:12 some apps also don't optimize there images for mobile Jul 04 13:59:50 but overall enyo is realy good for mobile.. you won't hear me complaining :) Jul 04 14:21:27 @liri: have you seen http://enyojs.com/sampler/debug.html yet? Jul 04 14:21:59 I've gone through a bunch of resources on enyojs.com and on the net Jul 04 14:24:30 yeah I've seen that one Jul 04 14:24:57 I guess I'll have to give it a chance and see how it turns out :) Jul 04 14:25:34 I'm planing for my first app to make use of a form for data input which I suppose enyo will provide that Jul 04 14:26:26 and 2nd part is I want to display some charts (line/pie), which I think is out of the scope of enyo. any library in specific you recommend on using for that? Jul 04 14:39:08 weekend starting... see you guys later Jul 04 14:39:13 thanks for all the info :) Jul 04 15:08:18 hodor Jul 04 15:08:30 that being out of the way. Jul 04 15:09:04 tommorow my boss wants me to sit in on an interview to assess the interviewees javascript skills Jul 04 15:09:38 any ideas how I should go about this? Jul 04 15:10:20 ask them about regex :p Jul 04 15:10:31 try paying close attention to what they say. and, if your boss wants you to sit in on it, make sure you're seated. nobody likes a showoff. Jul 04 15:10:37 was my interview question ^^ Jul 04 15:11:26 thanks, I'll bear that in mind Jul 04 15:12:03 regex is almost always the last section in js complete books/classes even if it's there Jul 04 15:12:40 if they know about regex you're pretty sure they looked into js themselves to find out more Jul 04 15:13:10 and about the prototype system might be handy too :) Jul 04 15:13:55 well, yes, but that doesn't really apply to enyo, now does it Jul 04 15:14:38 it's great to have as a backup, but since we'll need to train 'em as fast as possible in enyo Jul 04 15:14:39 depends.. in my case it does Jul 04 15:14:49 care to elaborate? Jul 04 15:17:01 if you're connecting to a server then it might be handy to create data classes in js that enyo can use for example Jul 04 15:17:44 indeed Jul 04 15:17:46 and since the prototype is still accesable in enyo it might be handy to know the workings Jul 04 15:18:16 that's true Jul 04 15:18:22 well thanks for the pointers Jul 04 15:18:33 if you write kind:'name' your actualy setting a prototype.. Jul 04 15:21:18 but now I have to go pick up my son Jul 04 15:21:20 bye Jul 04 15:21:24 and thanks again! Jul 04 15:21:30 * pjetr waves Jul 04 15:55:40 going to post my question one more time cause I'm off soon, hope someone finds an answer or alternative, I'll be back tomorrow http://stackoverflow.com/questions/17469449/enyo-animating-a-listitem Jul 04 15:56:31 so just leave your answers on ether the stackoverflow link or just here in the chat (I'll check the logs tomorrow) Jul 04 15:56:47 tkx in advance **** BEGIN LOGGING AT Fri Jul 05 01:50:51 2013 **** ENDING LOGGING AT Fri Jul 05 02:59:58 2013