**** BEGIN LOGGING AT Tue Jul 03 02:59:58 2012 Jul 03 05:27:35 do you do {kind:"Item", components:[{content:"blablabla"}]} Jul 03 07:09:30 enyo 1 .. why on earth do ListSelectors never fit their size properly, and how on earth do you make one do it.. adding a width or min-width just destroys the whole list Jul 03 07:19:32 EricBlade: curious: are you still targetting enyo1? Jul 03 07:20:03 madnificent: yeah, the new synergv is quite webOS oriented Jul 03 07:20:43 then still, i'd be inclined to go for enyo2. though cool. sadly i don't know the answer. Jul 03 07:21:23 it looks like the popups fit to the size of the main component, so you have to have the initial size of the main piece at least as large as you need it to cover in the list. annoying. Jul 03 14:09:39 EricBlade: new syngerv? new since? Jul 03 14:55:23 baboo: you can do that, or you can do without the components' Jul 03 14:56:11 argh. i really kinda want to do a real cribbage game, like vs the cpu, now Jul 03 14:56:16 but that's so much work Jul 03 14:56:57 i have to deal six cards to two players, write the logic for the game flow, and then write the logic for the cpu >.< that's too much work for right now Jul 03 14:57:20 i think i'm gonna just be lazy and fart instead Jul 03 15:05:31 what is the good word? Jul 03 15:33:56 i have no errors in my log, but my enyo app's not showing any lists! Jul 03 15:44:56 may i please have some help? Jul 03 15:48:07 what's up? your list needs a height Jul 03 15:49:03 it's under a DividerDrawer Jul 03 15:49:19 and has items Jul 03 15:49:20 it can still have a height property Jul 03 15:49:33 {kind:"Item"} Jul 03 15:50:19 i even tried another list with set height and it still didn't show. Jul 03 15:50:22 { kind: "List", classes: "enyo-fit" .. Jul 03 15:50:41 what is the enyo-fit class Jul 03 15:50:44 does your list have a count? is the setup being called? Jul 03 15:51:01 what are those 2 things Jul 03 15:51:05 enyo-fit class expands the control to fit the parent container, regardless of any other controls in the container Jul 03 15:51:27 for the list to create an item, it needs a count to call the onsetuprow function Jul 03 15:51:33 i will only have a list so that would work Jul 03 15:51:55 er, onSetupItem Jul 03 15:52:30 so what functi0on do you call Jul 03 15:52:39 function Jul 03 15:52:42 there's a working example in the docs: http://enyojs.com/api/#enyo.List Jul 03 15:53:45 setting count to a value calls setupItem every time the list is rendered. so if you put a log in setupItem, you can tell whether or not the list is beiung create Jul 03 15:53:47 d* Jul 03 15:57:39 the logs say there is no [List] object in enyo Jul 03 15:58:00 ah, you need to include the package in dependencies Jul 03 15:59:02 Jul 03 16:03:17 its saying the same thing, i put your snippet into the index.html file Jul 03 16:05:38 well, you need to change the reference path to your enyo path Jul 03 16:05:46 i did Jul 03 16:06:00 do you have list in your enyo ? Jul 03 16:06:30 {kind:"List"}? Jul 03 16:06:50 what version of enyo are you using? Jul 03 16:07:16 webos enyo, whtever version it is Jul 03 16:07:17 there should be a list folder in enyo/lib/layout/list Jul 03 16:07:37 i'll check Jul 03 16:07:56 well there are different releases of enyo.. list was only introduced last month. if you don't have rev 2.0b4+ then it's not there Jul 03 16:09:22 i have VirtualList Jul 03 16:10:01 you may want to download the latest enyo package from github. Jul 03 16:10:23 https://github.com/downloads/enyojs/enyo/enyo-2.0b5.zip Jul 03 16:10:40 and then switch the path in the index.html Jul 03 16:11:05 right Jul 03 16:13:49 sould i switch the path to the enyo-2.0b5 folder or the enyo folder Jul 03 16:14:10 2.0b5 Jul 03 16:14:16 ok Jul 03 16:15:08 include enyo-2.0b5/enyo.css, enyo/lib/layout/package.js, enyo/lib/onyx/package.js, enyo/lib/layout/fittable/package.js Jul 03 16:15:27 idk if those are rewuired now a days, but that's how i make sure everything's there Jul 03 16:20:35 the sdk's not letting me get another path to enyo Jul 03 16:21:31 i'm not sure i understand what you mean Jul 03 16:22:32 oops it didn't "correct" it Jul 03 16:22:44 i'l try just the enyo folder Jul 03 16:31:01 it's saying "error at /usr/palm/frameworks/enyo/1.0/framework/build/enyo-build.js:214, noconstructorfor kind [list]" Jul 03 16:35:09 fixed that, now do you do render the enyo in the body? new blablabla().renderInto(document.body); Jul 03 16:41:10 yeah Jul 03 16:42:06 i get the error MyApps is not defined, index.html:11 Jul 03 16:43:03 did you also include your package.js Jul 03 16:44:04 in the second enyo folder enyo/enyo? Jul 03 16:46:16 no, your own one that contains the files for all your code Jul 03 16:46:24 i used your dependencies list Jul 03 16:46:46 ah, well you still need to include your package.js, the one in your main directory Jul 03 16:46:56 enyo 2 doesn't automatically include it Jul 03 16:47:06 what sould the contents be? Jul 03 16:47:45 well, you need to include all the files you wrote yourself Jul 03 16:48:05 so the depends.js contents Jul 03 16:48:18 oh jeez, were you working with enyo 1 before Jul 03 16:48:22 >_< Jul 03 16:48:27 hmm. Jul 03 16:48:54 i guess Jul 03 16:50:16 well, depends.js was from enyo 1.0. i guess i should've asked before i had you do all that. Jul 03 16:51:07 i'll copy it over Jul 03 16:51:19 i saw it is the same contents Jul 03 16:52:28 right, but be aware that the syntax from enyo 2.0 is different from enyo 1.0. Jul 03 16:52:39 it's probably smart for you to be writing in 2.0, anyways. Jul 03 16:52:45 ya Jul 03 16:58:27 how can i make http://pastebin.com/SDskWxs2 into enyo 2 compatible code Jul 03 17:00:23 well, your biggest problem is there is no substitute for divider drawer, so you'll have to get rid fo that. other than that, scroller will work.. Jul 03 17:00:39 enyo.VFlexBox changes to "FittableRows" Jul 03 17:02:09 i'm gonna use the tree view then :) Jul 03 17:02:14 and those "VirtualList" can be automatically generated. I'd focus on getting the List working Jul 03 17:02:33 you need a create: function(){this.inherited(arguments)} Jul 03 17:02:44 and you can't have two components sections Jul 03 17:03:14 and after that, you need to set this.data to an array and everything should work =P Jul 03 17:21:49 have i totally confused you yet? Jul 03 18:09:29 anyone ever had an error thrown w/ a POST request? Jul 03 18:11:04 or, let me phrase this differently, anyone ever pulled the raw data of an image w/ an ajax request, and then tried to do something with it? Jul 03 18:24:53 wohooow, enyo-features is just about ready to be out of the original enyo sources. all hooks are in place :) Jul 03 18:26:36 woohoo, almost ready to package cribbage board for release Jul 03 18:26:51 looks like a fruitfull day for enyojs Jul 03 18:50:44 weeeee Jul 03 19:40:01 http://imgur.com/a/Fa6BG#0 Jul 03 20:11:26 woo woo, both are subb'd. maybe it'll make it by friday. there's a holiday tomorrow, i hear Jul 03 20:38:04 fxspec06: you seem to be the promotion board of enyojs :P Jul 03 20:39:10 ha. buaha. buahahahahha Jul 03 21:22:31 fxspec06: what is this.data Jul 03 21:23:39 And do i need it because im using a treeview Jul 03 21:54:10 i get this wierd message that is not right. It is "error: Uncaught SyntaxError: Unexpected token ), index.html:118" Jul 03 21:56:12 my index.html is this: http://pastebin.com/EHTq6yrX Jul 03 21:56:56 and fxspec06, thanks Jul 03 21:57:36 you've got a mismatched brace/paren somewhere Jul 03 21:58:42 and your formatting is weird enough in that paste that I can't easily tell you where Jul 03 21:59:32 oops, pasted my main.js code into index.html, then commented out main.js in package.js Jul 03 22:02:50 i see now Jul 03 22:04:07 im goona fix that! Jul 03 22:48:43 https://github.com/madnificent/enyo-features Jul 03 22:48:59 described, published, and not as a fork of enyojs anymore \o/ Jul 03 22:51:57 fwiw: writing a README for github is like torture Jul 03 22:58:12 and seeing the error Uncaught enyo.kind: Attempt to subclass an undefined kind. Check dependencies for [MyApps.FeedReader]., enyo/enyo/source/kernel/Oop.js:124 is like tourture Jul 03 22:58:49 baboo: wait, is that in enyo-features? Jul 03 22:58:54 ah no Jul 03 22:58:55 few Jul 03 22:59:39 yes it is Jul 03 23:00:07 it uses all built in features Jul 03 23:00:53 baboo: so it /is/ in eyno.features? Jul 03 23:00:58 s/eyno/enyo/ Jul 03 23:01:23 enyo-features Jul 03 23:01:25 i have enyo 2 in my root app dir Jul 03 23:01:48 odd, let me try with a fresh enyo. what browser? Jul 03 23:01:56 TP Jul 03 23:02:16 i'm on it Jul 03 23:02:49 thanx Jul 03 23:06:14 odd, my Feature example works without issues on both the TP and my local browser... Jul 03 23:06:48 it doesn't work on my browser either Jul 03 23:07:09 i thought you had seen my pastebin Jul 03 23:07:17 of index.html Jul 03 23:07:52 baboo: ok, so you're /not/ talking about enyo-features? the thing i just pasted? Jul 03 23:08:30 what is enyo-features Jul 03 23:09:12 you can read text and links, right? Jul 03 23:09:18 yup Jul 03 23:10:06 (hint: read what i wrote) Jul 03 23:10:28 anyways, does the execution of your enyo.kind give you an error? Jul 03 23:10:43 yeah Jul 03 23:14:04 what is s/enyo/enyo? Jul 03 23:14:29 ok, so your megadefinition doesn't have correct javascript. there's something wrong with the parens or the braces, let me check Jul 03 23:14:38 who wrote that? (s/enyo/enyo) Jul 03 23:14:44 it doesn't make sense Jul 03 23:14:51 it means replace enyo in the previous text with enyo... Jul 03 23:15:29 you wrote it! s/eyno/enyo/ Jul 03 23:18:21 ah, but that, s not s/enyo/enyo/ !!! Jul 03 23:18:37 it means i misspelled enyo. you should replace eyno with enyo in what i wrote before :) Jul 03 23:19:31 baboo: anyways, your definition of your kind is incorrect, it misses ]} at the end of your icon definitions (as in: you don't close the components correctly). Jul 03 23:19:59 secondly, FittableRows doesn't seem to be in the enyojs version you supplied. i think you need the layout for that, or perhaps onyx. but one of those. Jul 03 23:20:21 check out enyo's bootplate for information on where to get all that, easily :) Jul 03 23:21:34 fxspec06 told me to do FittableRows :S Jul 03 23:21:52 __i don't know__ Jul 03 23:22:18 fxspec06 should read my superb readme. he /might/ be able to use it someday. Jul 03 23:35:02 what kind do you usually put the enyo.kind into Jul 03 23:35:14 FittableRows? Jul 03 23:37:32 it depends on what you need Jul 03 23:38:37 just something like the old VFlexBox Jul 03 23:38:56 i have a tree view anyways Jul 03 23:39:44 . Jul 03 23:39:54 get bootplate, make sure you have onyx and layout in there. and then you should have FittableRows somewhere in there as well (it should be in either of those two). Jul 03 23:39:55 oops Jul 03 23:40:44 i have both but it gives me an error Jul 03 23:41:37 baboo: it's in layout Jul 03 23:41:50 no, you're only loading enyo in your javascript source Jul 03 23:41:55 * madnificent is out. night Jul 03 23:42:12 package.js should help you if you start using bootplate. Jul 03 23:45:53 ok Jul 03 23:48:28 i think it works with the kind being a scroller. Will test Jul 03 23:50:42 :( Jul 04 00:08:48 wait what should i do Jul 04 00:09:20 read madnificent's readme Jul 04 00:09:31 that sounds like an awful lot of work Jul 04 00:09:39 yeah Jul 04 00:09:43 he said Jul 04 00:09:50 on chat Jul 04 00:10:21 i can't get my enyo to render. http://pastebin.com/nAV5iFJV is my index.html Jul 04 00:11:34 what's the error Jul 04 00:12:11 you need a create function Jul 04 00:19:20 separated main.js from index.html and i get Uncaught ReferenceError: App is not defined index.html:13 Jul 04 00:20:21 line 13 on index.html is new App().renderInto(document.body); Jul 04 01:10:15 oh, you didn't include your package.js Jul 04 01:10:24 well, you shouldn't have to Jul 04 01:10:32 don't put new enyo.kind Jul 04 01:10:35 just put enyo.kind **** ENDING LOGGING AT Wed Jul 04 02:59:58 2012