**** BEGIN LOGGING AT Fri Mar 15 02:59:58 2013 Mar 15 15:16:57 hello :) Mar 15 15:21:15 hello pulsation Mar 15 15:21:23 what are you building? Mar 15 15:32:30 pulsation: hello Mar 15 15:33:30 well, we were working on a dummy example, and found something that seemed odd to us Mar 15 15:34:19 indeed, our enyo.Panels instance contains an "animator" component that seems to be mixed with our regular components Mar 15 15:35:35 the result is that if destroyComponents() is called, the animator is also killed (animator is a dangerous job :p ) Mar 15 15:36:02 maybe we should have called destroyControls instead for example? Mar 15 15:37:13 however, the documentation mentions kindComponents, should'nt the animator be stored in this property instead of regular componetns? Mar 15 15:39:54 I'm still working on the enyo presentation to be done at web-5 though :p Mar 15 15:40:18 still far from finished, but you can have a look at http://www.pulsation.eu/slides/enyo-web5.html if you want. Mar 15 15:42:07 what about you, did the LG aquirement have a significant impact on webos/enyo yet? Mar 15 16:03:59 define significant impact Mar 15 16:25:23 hope the teams that are working on enyo were not reaffected for example? "-- Mar 15 16:29:18 I think LG hired the Enyo team Mar 15 16:29:27 the EU DevRel team stopped existing Mar 15 16:29:40 or, maybe hired part of the Enyo team Mar 15 16:36:06 ah, ok Mar 15 16:36:30 just based on twitter Mar 15 19:08:23 pulsation: yet another presentation on enyo. i'm a tad surprised that no one invested in the one presentation to get devs attracted. i just clicked through quickly and didn't see something new yet. but it also looked like a sane thing :) so hop on, you're on the right track Mar 15 19:32:16 Hello folks, I'm trying to add an ontap to either an object or embed tag and it seems to be silently failing. Is there a way to attach this? Mar 15 20:06:21 trex005: ontap should work on any Control, afaik Mar 15 20:06:31 trex005: paste the example in jsfiddle? Mar 15 20:07:37 Sure thing, just a moment. Mar 15 20:16:06 madnificent: http://jsfiddle.net/BQUQT/ Mar 15 20:16:20 that is the simplest version.... I've tried all sorts of other options as well Mar 15 20:20:12 trex005: the embed tag probably doesn't send the event Mar 15 20:20:48 trex005: http://jsfiddle.net/BQUQT/1/ and tap foobar Mar 15 20:22:18 madnificent: yeah, embed and object do not seem to bubble up events... I thought I was getting close with this : http://stackoverflow.com/questions/13756443/how-to-get-onclick-working-on-emdedded-svg-images Mar 15 20:22:30 trex005: if you want the image, check out http://jsfiddle.net/BQUQT/2/ Mar 15 20:22:53 trex005: i have source code somewhere which does it correctly with svg... but i have no idea where Mar 15 20:23:04 yeah, but if you use image you can't use all the SVG features. Worked hard to add hover and click effects :) Mar 15 20:23:50 I first tried hovering a div overtop, but that obviously blocks the svg effects too Mar 15 20:24:01 trex005: check /msg Mar 15 20:25:09 trex005: the link is not compressed and not built, so you may dig your way through it with the console Mar 15 20:27:07 madnificent: sorry, got booted Mar 15 20:27:21 trex005_: sent the /msg again :) Mar 15 20:27:24 I think your site crashed chrome :) Mar 15 20:27:44 can you send to trex005_ it seems I could not use it without the _ Mar 15 20:28:15 sorry Mar 15 20:28:27 it's heavy, but it really shouldn't crash your browser Mar 15 21:16:01 trex005_: yeah, you can probably put it inline like that too. that's a rather clever trick Mar 15 21:16:34 fyi, svg support isn't briliant in any of the browsers. we used it for this project, but for some others we went plain canvas. canvas actually works. Mar 15 21:16:48 madnificent: yeah, that's what I'm going for. It's a lot of work for a test, so I hope it works Mar 15 21:17:13 do you need to update the SVG? Mar 15 21:17:31 because that's where a lot of things go wrong. also, it fails when you do complex things in the svg, like blur. Mar 15 21:17:32 I've not really done anything with canvas, so I don't know. Do you know if there is anything to convert svg to canvas? Mar 15 21:17:44 I need to trigger stuff in the SVG mostly Mar 15 21:17:45 and many mobile browsers don't support it. Mar 15 21:18:01 canvas better supported? Mar 15 21:18:05 svg and canvas are two totally different beasts Mar 15 21:18:40 canvas basically says: here kid, take your pixels, color them the way you want. then it offers some /minimal/ help to draw shapes and text. Mar 15 21:18:49 yeah, but a path or color in one should be able to convert to a path or color in the other I would think :) Mar 15 21:19:11 svg basically says: look, you describe your image with forms in any complex way you want, and i'll figure out how to draw it so it works for the user's current screen. Mar 15 21:19:50 you can write an svg implementation in javascript, but it certainly won't be small. take a look at the svg spec, if you're interested Mar 15 21:19:55 i'm surprised they got it running at all. Mar 15 21:20:26 now, it does work to a large extent. but keep in mind that you shouldn't try to use the fancy complex features of svg :) if you don't, then you'll be fine. Mar 15 21:21:21 we built something akin to a drawing utility in javascript for svg, and that did work! so it's not like it can't do anything. i was just surprised by the amount of bugs in it. if it's display and finding where the user clicked, it'll most likely just work :) Mar 15 21:21:23 I don't think I use much complex.... mostly paths, opacity etc Mar 15 21:23:02 the combination display-hide-click has issues in chrome IIRC. which is what we noticed with the hovering thing we have going on. aside from that, it went fairly well for that site... and that's already a fairly complex svg, with the coloring in it and all. alpha didn't prove to be a problem for us. Mar 15 21:23:28 drawing fonts at odd rotated angles looks ugly, if you want to try to do that. Mar 15 21:23:54 * madnificent thinks he has spread all the FUD he has to spread now. so given that, you'll probably get it running just fine :D Mar 15 21:28:53 madnificent: I'm working on this adding svg with ajax idea... how would you create a div with that string as it's content? Mar 15 21:29:12 can't really add it as a component Mar 15 21:42:25 Does anyone know the way to set HTML as content. The enyo 1 docs had a type that was HTMLcontent ( https://developer.palm.com/content/api/dev-guide/enyo/html-content.html ) but I don't see the current equivalent Mar 15 21:53:05 trex005_: you can set the innerhtml, no? Mar 15 21:53:31 trex005_: you can get the html node from within enyo too, not sure how, i wasn't the enyo expert Mar 15 21:53:35 I could do that after it is rendered, however if it is re-rendered I think that will be lost Mar 15 21:53:53 * madnificent doesn't know enough Mar 15 21:54:06 me too ;) Mar 15 21:54:53 * trex005_ bangs head through monitor Mar 15 22:11:18 monitor breaks Mar 15 22:17:03 * madnificent curses scroller Mar 15 22:22:09 madnificent: apparently I can just use an enyo control and set allowHTML:true Mar 15 22:22:23 BUT when I do it inline for some reason my SVG effects are not working Mar 15 22:22:26 how frustrating Mar 15 22:24:28 is it a big svg? Mar 15 22:27:59 why on earth doesn't the scroller nicely put its contents inside the freely available space. it's a scroller in fittablerows in a panel Mar 15 22:28:45 well, it probably does that because i set its height to 100%, but i can't find how i can make it take up the available space otherwise Mar 15 22:32:30 placing another component around it fixes it... yay, i think Mar 15 22:55:31 madnificent: I saw you asked something before I got booted. Did you get it figured out? Mar 15 23:11:42 yeah Mar 15 23:12:27 though i find it odd. i now know how to fix it, but i don't know how i should do it in general. somewhere enyo and the html box model don't really play that well together. and the sizing is a terrible terrible thing to mess with. Mar 15 23:13:30 now, that's not to say enyo is bad for building applications with html+css, however it doesn't abstract it well enough for me not to care about the html+css. i find that annoying. Mar 15 23:14:58 so the problem ha(s/d) it's root in the fact that i myself don't play well enough with the box model. i never did. there's something wired wrong in my head since i read the CSS2 spec when that came out... and i've never been able to figure out what. << and that is what ultimately frustrates me when trying to position things correctly. not being able to pinpoint what i don't interpret correctly. **** ENDING LOGGING AT Sat Mar 16 02:59:58 2013