**** BEGIN LOGGING AT Wed Nov 07 03:00:02 2012 Nov 07 04:06:50 if i wanted a kind to have a header above its components, what would be the best way to create that? createComponents() ? Nov 07 04:07:02 and then can i insert it into the components at 0? Nov 07 04:14:06 OBAMA WINS OHIO Nov 07 04:22:42 a header? Nov 07 04:23:45 if you have a placeholder kind, you could call .destroyClientControls() on it to clear it then createComponent({kind: "blah", content: "blahblah"}, {owner:this}); Nov 07 04:43:58 drunknbass: Why not create a container kind that has a header and set the components into that? Nov 07 04:45:03 well i do Nov 07 04:45:20 but its easier to do it like that Nov 07 10:04:59 drunknbass: There used to be a prepend: true you could add to the parent component but it looks like it got removed Nov 07 10:05:06 https://enyojs.atlassian.net/browse/ENYO-882 Nov 07 10:34:40 rrix, http://forums.enyojs.com/discussion/693/order-of-elements-in-dom-while-inheriting-a-kind Nov 07 10:34:58 and on issue 886 "removed prepend, provided alternate method for positioning components" Nov 07 10:35:22 "yeah, I'm looking at removing prepend entirely and instead using a "addBefore" attribute you set on your instance in the createComponent call. It can take either a control reference or a index number" Nov 07 10:35:28 I wonder if that got added... Nov 07 12:45:23 does anyone have any experience with a webos not scrolling on mobile Nov 07 12:45:37 as in: we built a website with it, but the whole page doesn't want to scroll Nov 07 14:19:56 i think my collegue somehow fixed it Nov 07 14:26:51 i have no Nov 07 14:26:54 idea Nov 07 16:18:25 hi, is there a way to override setter method created when a property is declared as published? like published: {someprop: true } ... setSomeprop: function() ... The function setSomeprop is called but can't actually set the value for someprop Nov 07 16:18:49 http://twitter.com/stroughtonsmith/status/266073708286840832 Nov 07 16:24:19 ok, just setting someprop directly works, thanks. Nov 07 18:04:08 does enyo2 support list items that can be swiped off, still? Nov 07 18:20:09 nope. =( Nov 07 18:22:01 There used to be something in the unstable area, I thought. Nov 07 18:22:21 Grr… who's using my nick. Nov 07 18:22:33 bummer. Nov 07 18:22:38 possibly, not sure if it was working or not yet Nov 07 18:22:53 oh well. Nov 07 18:22:55 hey, curious Nov 07 18:23:08 css image background scaling Nov 07 18:23:23 is there a way to make it repeat the center pixels, instead of squashing? Nov 07 18:25:58 .class {background-repeat: repeat;} ..? Nov 07 18:26:12 that'll tile it Nov 07 18:26:25 i'm trying to make one of those neat "count bubbles" Nov 07 18:26:42 You can set it to only repeat in one direction, if that's what you meant. Nov 07 18:26:52 no no, not repeat Nov 07 18:27:13 if i have a circle as the background, i want to end up with round edges and an elongated center Nov 07 18:27:17 instead of a squashed circle Nov 07 18:27:24 Go with three images. Nov 07 18:27:30 oh like http://i.imgur.com/kKq7k.jpg Nov 07 18:27:45 yeah. i ended up doing it in css, too Nov 07 18:27:48 but i liked an image i found Nov 07 18:29:05 https://github.com/skipmeister123/preware-enyo2.git Nov 07 18:29:11 You can do it by using css on a single image. Nov 07 18:29:21 http://cl.ly/image/2M473m3Y1g3z Nov 07 18:29:31 do you have an example? Nov 07 18:30:16 Not really, you need to use the offset settings. Nov 07 18:30:21 And slice up the image. Nov 07 18:30:37 yeah. i could do it easily with three slices, but that sucks :\ Nov 07 18:30:41 i'll just stick with css, for now Nov 07 18:30:48 border-radius Nov 07 18:30:51 how is it looking, by the way? Nov 07 18:31:00 looks neat! Nov 07 18:31:16 and if you were to hit update, it would bring up this Nov 07 18:31:17 http://cl.ly/image/0E1j3F2Y2J0G Nov 07 18:31:21 which doesn't DO anything yet Nov 07 18:31:24 but it's there at least Nov 07 18:37:47 ok, i've got another one for you Nov 07 18:37:55 i need to write settings and save them. Nov 07 18:38:12 like, i need to be able to save the feeds that have been added Nov 07 18:38:19 what's the best way to do that? Nov 07 18:39:29 localStorage[] Nov 07 18:39:40 er Nov 07 18:39:49 you could do that, but the actual JS methods are Nov 07 18:40:02 localStorage.set("name", "string value"); Nov 07 18:40:03 and Nov 07 18:40:09 localStorage.get("name"); Nov 07 18:40:13 is it set or setItem? Nov 07 18:40:17 and how can i do an array? Nov 07 18:40:30 it might be setItem Nov 07 18:40:49 for an array you'd have to stringify it before you store it, then parse it when you retrieve it Nov 07 18:41:10 so localStorage.setItem(JSON.stringify(array)); Nov 07 18:41:18 ok. Nov 07 18:41:38 then var x = JSON.parse(localStorage.getItem(arr)); Nov 07 18:41:46 basically Nov 07 18:41:52 completely unrelated subject… how can i swap a scroller with the contents of another .js file? Nov 07 18:42:03 not following Nov 07 18:42:16 you saw my screenshots before Nov 07 18:42:36 i want it so that when you click the refresh icon, it swaps the main panel with the contents of the second screenshot i sent you Nov 07 18:42:42 leaving the side bar and the header Nov 07 18:42:47 how would you swap it? like, remove a kind from a scroller, then dynamically create another inside it? Nov 07 18:43:03 yeah Nov 07 18:43:04 use a panels kind Nov 07 18:43:08 that's your best bet Nov 07 18:43:12 it is a panels Nov 07 18:43:22 .setIndex(integer) Nov 07 18:43:44 would it have to be in the same .js file? Nov 07 18:43:44 or .next() or .previous() but that might not be helpful i don't think Nov 07 18:44:28 well in your panels, they go in order.. if you have {kind: panels, components: [ {name:"a"}, {name:"b"}, {name:"c"} ]} Nov 07 18:44:40 then to load "a" call .setIndex(0) Nov 07 18:44:52 for b, setIndex(1) etc Nov 07 18:45:15 that's probably the easiest way to do it i believe Nov 07 18:46:16 https://github.com/enyojs/enyo/wiki/Panels Nov 07 18:46:23 taking a break. back in a few. Nov 07 18:46:35 the docs make it sound so much easier. lol Nov 07 18:57:27 back. Nov 07 19:00:46 k so you might want to take a look at that panels page Nov 07 19:01:50 also to see cool things go http://enyojs.com/sampler/ >> layout >> panels Nov 07 19:02:07 and you can even view source of things for inspiration Nov 07 19:02:41 yeah, i'm poking at it now. Nov 07 19:02:43 i broke one. Nov 07 20:06:25 how can i make it so you can't drag between panels? i ONLY want to be able to swap between them using buttons or other functions Nov 07 20:08:26 er Nov 07 20:08:28 touch: false, Nov 07 20:08:30 ;) Nov 07 20:08:33 oh. :) Nov 07 20:08:38 easypie Nov 07 20:10:12 uh Nov 07 20:10:18 what component is that set on? O_o Nov 07 20:16:04 fxspec06_? Nov 07 20:21:02 hah, i figured it out. you were wrong :P Nov 07 20:21:05 draggable: false Nov 07 20:29:53 sorry hi Nov 07 20:29:57 draggable: false Nov 07 20:29:59 right Nov 07 20:30:27 no i was right my brain was just not functioning properly ;) Nov 07 20:30:47 the touch is for scrollers, derrrrrrrrrrrrrp Nov 07 20:44:19 heh Nov 07 20:44:21 check it out Nov 07 20:44:21 http://hadak.org/preware2/ Nov 07 20:44:31 i just threw it up on my server Nov 07 20:45:20 so far, all you can really do is hit cancel and the top two buttons on the side Nov 07 20:45:26 obviously not perfect Nov 07 20:47:53 you are miles better at UI design than i am. Nov 07 20:47:55 +100000000000000000 Nov 07 20:48:04 eh. i'm learning. Nov 07 20:48:06 but thank you :) Nov 07 20:48:20 i just have no vision Nov 07 20:48:21 (i'm still probably going to need some help implementing functionality) Nov 07 20:48:28 well, i'm just kinda designing as i go Nov 07 20:48:32 i can code, but i can't envision Nov 07 20:48:37 i have no idea what it's going to look like when i'm done Nov 07 20:48:50 i just go "ok, i have THIS, and i need to add THIS….how do i make it look/feel right?" Nov 07 20:48:51 and i do it. Nov 07 20:48:57 well ya Nov 07 20:49:01 that's what i usually do Nov 07 20:49:14 so, it's looking ok so far? Nov 07 20:49:15 i probably don't give myself enough credit Nov 07 20:49:20 but yeah, it's lookig good Nov 07 20:49:23 :) Nov 07 20:49:39 muy bien senior Nov 07 20:49:42 thanks. Nov 07 20:49:48 imo, way better than the current mojo design Nov 07 20:49:57 absolutely Nov 07 20:50:00 you'll be a hero Nov 07 20:50:03 haha Nov 07 20:50:06 i have to make it work first. Nov 07 20:50:15 you're welcome to help ;) Nov 07 20:50:18 lol Nov 07 20:50:26 hrm. maybe. possibly. Nov 07 20:50:30 my next task is to add in the preferences to add repos. Nov 07 20:50:31 school semester is almost over Nov 07 20:50:45 once i can add and save repos, i'll have to make the refresh page work Nov 07 20:50:55 so, most likely i would be able to.. soon Nov 07 20:50:58 and have it pull down the packages.gz files, extract them, and read in the manifests Nov 07 20:51:10 i'm probably going to need a bit of help with that. Nov 07 20:51:12 however Nov 07 20:51:27 once those manifests are read in, you can use the manifests to populate the available packages things Nov 07 20:51:32 and then half the work is done. Nov 07 20:51:57 yeah, it really isn't a lot of work Nov 07 20:52:01 preware is already written Nov 07 20:52:16 and there isn't a lot to the mojo one, screens wise Nov 07 20:52:22 yeah. Nov 07 20:52:31 it's actually rather simple. which amazes me Nov 07 21:02:07 ok, i'm outta here. cya later. Nov 07 21:03:16 later **** ENDING LOGGING AT Thu Nov 08 03:00:01 2012