**** BEGIN LOGGING AT Mon Jul 15 02:59:58 2013 Jul 15 08:04:19 morning :) Jul 15 08:06:59 goodmorning! Jul 15 09:44:24 I made a library for encryption/ encoding this weekend ? want to see it and tell me what could change? Jul 15 09:47:35 https://github.com/DimitrK/enigma Jul 15 11:51:34 cool enigma :D Jul 15 11:53:24 thanks! :D if you have any suggestion on patterns for writting Enyo libraries I would be glad to listen at as well. Jul 15 11:58:34 singleton is always nice to have but not needed in this case in my opinion Jul 15 11:59:30 http://enyojs.com/api/#enyo.singleton Jul 15 12:02:28 I know is singleton. I was thinking exactly of that. I tried to show the difference in hash model but I am not sure how would be more efficient. to call many instances across the flow or one? Jul 15 12:03:40 I needed it for hmac authentication which mean that any message that is send to the server should be encrypted from any point whenever is necessary Jul 15 12:04:17 I will play with non static implementation to see how it behaves. very nice notice. thank you Jul 15 16:06:42 dimk_: in gernal a nice idea but I would never use it ... Jul 15 16:09:48 morphis: Thank you, would you like to tell me why? I made it for me to use it at first place, I just open sourced it Jul 15 16:10:06 dimk_: nothing against it in general Jul 15 16:10:31 I like the way you can use it but reimplementation of security algorithms is always some kind of risky Jul 15 16:11:06 dimk_: aren't there any widely accepted implementations you can use in the background instead of your own? Jul 15 16:11:39 in my readme.md and license I mention certain names and contributors Jul 15 16:12:06 these implementations are not mine even though may be modified in the code without altering their behavior Jul 15 16:12:16 ah Jul 15 16:12:44 they are used and verified many times by other developers Jul 15 16:13:29 also by me where I checked the encryption against other encryption algorithms implemented/used in C# or websites Jul 15 16:15:36 dimk_: ok, didn't saw that paragraph Jul 15 16:15:46 If you are concerned solely about this, then it shouldn't be an issue, I am concerned mainly of anti-patterns on the writting of the plugin since Enyo is a framework I used long ago (Enyo1) and since then certain things changed. Jul 15 16:26:03 goodnight everyone! Jul 15 20:23:29 in enyo one there was a property called lazy: true Jul 15 20:23:39 how can I enforce lazy loading in Enyo 2? Jul 15 20:32:10 lazy loading of what, precisely? Jul 15 20:32:15 like, rendering into the dom? Jul 15 20:33:05 yes, exactly. Jul 15 20:33:50 I found a property canGenerate and setted to false. Now I try to use another one whenever I want to load it into to dom called "generateHtml()" Jul 15 20:34:00 but no luck summatusmentis Jul 15 20:34:52 it was usefull when I had a set of panels back then. Jul 15 20:35:14 I'm not sure if that feature carried over (never used enyo1) Jul 15 20:35:22 why not just createComponent() when you need it? Jul 15 20:35:54 my first approach was something like that... snippet of mycode follows: Jul 15 20:36:06 this.$.Scroller.createComponents([ {name:"Access", kind: Access, onAccessGranted: "handleAccessGranted"} ], {owner: this}); Jul 15 20:37:15 in the Access control now there are to components. onyx.RadioGroup and followed on the same level by an enyo.Panels Jul 15 20:37:29 I cant get enyo.Panels to work at all!!! Jul 15 20:38:40 and I am thinking that maybe this createComponents call that triggered the creation of panels has to do with this behavior I am experiencing. So basically I am trying to alter things and see behavior here Jul 15 20:40:18 for some reason my panel is stuck with css overflow:hidden and when I activate it looks like crap in white font while all the rest of the container is in dark grey Jul 15 20:50:47 Proposal: Jul 15 20:51:19 I believe all of you are aware of the Enyo API viewer. If you don't know already , now is also a Chrome extension. Jul 15 20:53:11 the way is structured is nice and everything is clear. But people that work with that have certain experiences (Negative/Positive) or conflicts between components, or know a nice way/pattern to do something (e.g. setting easily index in panels). Jul 15 20:54:37 Can we put to that thing an integration of some commenting system for each section of a control that describes a functionality like the Disqus platform and people to writte useful tips ? Jul 15 20:56:09 It can be folded or something to keep the interface clean. While folded will display a simple message how many comments are inside and on click of this message the whole comment section for the specific property/method of a kind will be expanted Jul 15 20:57:09 people will have a way to share the freaking good parts much easier without forcing themselves to look at the forum for freaking hours and at the end feeling bad for asking questions that are kinda silly. Jul 15 21:18:10 dimk: alas, no Jul 15 21:18:33 newbeen: what is that no for ? :) Jul 15 21:18:43 not working, hehe. (hi) Jul 15 21:18:48 hahahah hi Jul 15 21:19:04 wait a sec, I have to try it by myself Jul 15 21:19:08 got the sampler project from git, ran the deploy script, but get redirected to debug.html when loading the page in a browser (on iis) Jul 15 21:19:20 great Jul 15 21:19:24 what is the problem with that? Jul 15 21:19:31 this is the expected behaviour Jul 15 21:19:48 eh? i was hoping to see the sampler page... ? Jul 15 21:19:49 aaaaaaaaaaaaaaaa Jul 15 21:19:54 hahahah Jul 15 21:19:55 no no Jul 15 21:20:17 show me how is your link on iis pease Jul 15 21:20:18 please Jul 15 21:20:30 http://localhost/enyo-sampler/sampler/deploy/sampler-14-07-2013-19-24-37/index.html Jul 15 21:20:30 ? Jul 15 21:20:31 sorry I mean show me the url you get to see Jul 15 21:20:35 sec Jul 15 21:21:23 (which brings the alert() "No application build found, redirecting to debug.html") Jul 15 21:22:53 ok and what happens next? Jul 15 21:22:58 in debug.hml Jul 15 21:23:04 HTTP Error 404.0 - Not Found Jul 15 21:23:04 The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Jul 15 21:23:36 maybe this is the wrong way, eh? i just wanted to learn the anatomy of an Enyo app Jul 15 21:23:44 maybe i should try with Bootplate? Jul 15 21:23:51 did you made a git pull ? Jul 15 21:23:57 sorry git clone ? Jul 15 21:24:01 yup Jul 15 21:24:24 let me try the whole process a second ok ? Jul 15 21:24:29 git clone --recursive https://github.com/enyojs/sampler.git Jul 15 21:24:33 i hope i got the URL right? Jul 15 21:24:50 yeap seems fine Jul 15 21:26:18 did you made the recursive pull into that repository? Jul 15 21:26:35 http://localhost/enyo-sampler/sampler/deploy/sampler-14-07-2013-19-24-37/sampler/index.html Jul 15 21:26:36 er? meaning... ? Jul 15 21:26:41 try please the above link Jul 15 21:26:54 404 Jul 15 21:27:20 there's only assets/ and lib/ in sampler-14-07-2013-19-24-37/ Jul 15 21:27:55 i'll try again too, in a new directory... Jul 15 21:28:13 sec because I am still cloning Jul 15 21:28:23 I ll come with more news in a while Jul 15 21:28:28 ok thanks Jul 15 21:29:13 (git is just awful :P) Jul 15 21:29:19 just a shot in the dark for now, try also this: http://localhost/enyo-sampler/sampler/index.html Jul 15 21:29:22 git us amazing! :D Jul 15 21:29:40 oh, that did... something Jul 15 21:29:51 hahahah Jul 15 21:29:54 so debug.html loaded, but only the grey left and right panels are there. no content Jul 15 21:30:17 to me is working perfectly Jul 15 21:30:27 i'm trying again in a clean directory Jul 15 21:30:38 ok, the cloning is done Jul 15 21:30:42 listen forget all you ve done. It got me only 3' because of git ;) Jul 15 21:30:45 yeap exactly Jul 15 21:30:52 mark this directory down Jul 15 21:30:53 then i run the deploy script? Jul 15 21:30:56 dont build or things Jul 15 21:30:59 no no deploy Jul 15 21:31:01 what for? Jul 15 21:31:09 no idea :) Jul 15 21:31:22 alright, i'll just map it in iis and try to load then Jul 15 21:31:27 just go in there and run the index.html or debug.html , in both cases will run the last one Jul 15 21:31:34 yeap exactly Jul 15 21:32:09 ah Jul 15 21:32:12 don't run it from the file disk. by mapping the dir in iis and then follow the path from there Jul 15 21:32:15 grey nothingness in ie. loads in chrome Jul 15 21:32:38 jesus Christ... iis, IE ... Who are you???? Bill GateS? Jul 15 21:32:54 newbeen: do you have the full dependency tree? Jul 15 21:32:55 what, i like it :) Jul 15 21:33:31 summa: unfortunately i don't know what that is. the learning curve seems to be a bit steep (coming from non-git and jQM) Jul 15 21:33:48 newbeen: hahahha you are my nightmare while I am trying to achieve IE 6 compatibility in my work. do you know that ? Jul 15 21:34:00 newbeen: when you check out sampler, it doesn't contain the full enyo lib Jul 15 21:34:06 yes summatusmentis he did recursive clone the repo Jul 15 21:34:13 dimk: you'll be please to know i'm on ie10. and generally don't code anything for less than ie9 :) Jul 15 21:34:35 that is encouraging to continue the convertation :d Jul 15 21:34:39 :D Jul 15 21:34:54 but i'll use chrome from now. that's really awful too (but better than git) Jul 15 21:35:30 so: i think i need a panel and a couple of views to achieve the "pages" that i want in my app Jul 15 21:35:31 you might need to try git submodule update --init Jul 15 21:36:10 summa: it actually seemed to have worked this second time. my initial pull is still broken (grey emptiness) on both ie and chrome Jul 15 21:36:28 (but i just did a 'recursive clone' again now and it seems to run (on chrome)) Jul 15 21:36:29 bizarre, I think you must have messed it up Jul 15 21:37:09 probably... Jul 15 21:37:13 newbeen: if you are using chrome maybe this will usefull as well https://chrome.google.com/webstore/detail/enyo-api-viewer/hjcnnoabfllfhkopmbnekkannbofdpfl/related Jul 15 21:37:16 the command you entered above worked for me on the first go Jul 15 21:37:17 weird Jul 15 21:37:27 in a fit of desperation i might have done something crazy... Jul 15 21:37:33 like copy and paste directories around... Jul 15 21:37:38 i can't be held responsible for such things Jul 15 21:37:50 git will hold you responsible for such thinsg ;0 Jul 15 21:37:56 things ;) ** Jul 15 21:38:14 summatusmentis: I thing the first time things got messed up for him while he tried to run the deploy script and then copy-pasting files on the project Jul 15 21:38:26 oh, yeah, don't do that Jul 15 21:38:29 i *really* hope enyo will solve my pixel-density woes. because otherwise jQM is just fine :P Jul 15 21:38:30 I maybe misread above Jul 15 21:38:33 my htoughts exactly :D Jul 15 21:38:34 dink: thanks, will try Jul 15 21:38:48 dimk even, pardon Jul 15 21:38:53 np :) Jul 15 21:38:54 newbeen: retina stuff? enyo should Jul 15 21:39:00 just make sure the images you're using support it Jul 15 21:39:05 summa: yes, and the 1.5 density devices, etc Jul 15 21:39:31 the font sizes and controls in jQM didn't scale well at all Jul 15 21:39:37 yep, enyo should be fine for that Jul 15 21:39:39 automatically, that is, without everything needed to be specified in css Jul 15 21:39:51 excellent! hopes up! i hope they won't be dashed again :-o Jul 15 21:40:12 ENYO WILL DO EVERYTHING YOU NEED IT TO, DON'T QUESTION IT Jul 15 21:40:37 can you tell me how to render this damned panel??? hahhaha Jul 15 21:40:38 i'm happy to surrender, now if it will only yield and release its crazywarped javascript secrets to me... Jul 15 21:40:49 dimk: that's coming soon :P Jul 15 21:41:01 hehehehe Jul 15 21:41:02 :D Jul 15 21:41:55 seriously, were you all javascript natives coming to enyo? because it's a bit of a mindjob reading the code Jul 15 21:42:17 I started javascript with enyo Jul 15 21:42:24 wow. Jul 15 21:42:24 dimk_: can you jsfiddle your code? Jul 15 21:42:34 I had Java/C experience though Jul 15 21:42:40 gladly. sec to prepare it Jul 15 21:42:49 enyo feels "normal" to me, compared to other js frameworks Jul 15 21:43:00 the OOP structure is nice Jul 15 21:43:09 enyo seems like a whole app baked into a single 'kind'. is that right? Jul 15 21:43:22 doesn't have to be Jul 15 21:43:31 it's a whole app built out of components Jul 15 21:43:39 each component can be it's own Kind file Jul 15 21:43:50 do you have OOP experience? Jul 15 21:43:55 but i'm crucially missing how they are all strung together Jul 15 21:43:59 yes, my day job is in c# Jul 15 21:44:12 (previously java) Jul 15 21:44:18 newbeen: well, overally, they're strung together in App.js Jul 15 21:44:25 where you 'declare' them Jul 15 21:44:43 so, yes, it all pulls together in a single Kind, but you don't have to define everything there Jul 15 21:45:59 the code conventions seem entirely new... so many conventions to follow... are they all fully documented somewhere (appart from the beginner's tutorial)? Jul 15 21:46:07 enyojs.com/api Jul 15 21:46:18 that and the github wiki Jul 15 21:46:28 "fully" is a strong word, but pretty well Jul 15 21:46:47 anythign less than "fully" scares me, but what choice have i? :) Jul 15 21:46:53 thank you, am looking now Jul 15 21:46:57 https://github.com/enyojs/enyo/wiki in case you're not aware Jul 15 21:47:17 oh, dimk's given a great chrome app to the api Jul 15 21:47:38 yeah, that is the same, iirc, as the link I gave above Jul 15 21:47:46 I think it's just a wrapper Jul 15 21:47:51 ahso Jul 15 21:48:20 packaged offline version it says Jul 15 21:48:27 yeah, ok Jul 15 21:48:40 less up to date (potentially) than the online version Jul 15 21:49:24 ok, next q: (by the way, thanks for all the generous help. you can tell me when you're tired!) Jul 15 21:49:38 what is node.js, and do i need it to build enyo apps? Jul 15 21:49:52 node.js is a server-side javascript technology Jul 15 21:50:05 I believe it's a dependency for the build system in enyo Jul 15 21:50:11 but it might be not mandatory Jul 15 21:50:11 summatusmentis: ok for some reason the code there is not working. here is the skeleton! http://jsfiddle.net/ydHZc/1/ Jul 15 21:51:34 actually you dont really need it if you dont want to build it that way. You can build it with phonegap online by uploading a zip file. Ofcourse then again you need to learn the required phonegap set up and how to writte the xml file Jul 15 21:52:15 does phonegap build package the js for you? Jul 15 21:52:22 dimk: what comes out at the end of a node.js build? a deployable HTML5 package? Jul 15 21:53:02 dimk_: you needed to move you Login kind above where you declare it, and render App() into the body - http://jsfiddle.net/ydHZc/3/ Jul 15 21:53:23 I'm not sure what I'm looking at right now, but I fixed your errors in the link above Jul 15 21:53:44 well you should in a login that should have underneath a login form more or less Jul 15 21:54:06 newbeen: the build "uglifies" the javascript and CSS (puts them all into one file), which is supposed to be the most efficient way to load JS Jul 15 21:54:07 the form is inside Panel in Access module and is calling the Login module Jul 15 21:54:22 I see a button thing Jul 15 21:54:34 that is all I see as well and there exactly is the problem Jul 15 21:54:51 check the access module. it should have this button thing and right bellow the Login form Jul 15 21:56:50 summa: is that then a complete HTML5 'package' that can be deployed on a web server (i.e. the complete app with all dependencies)? Jul 15 21:57:02 I need a panel because the user should have options to login with account or open id or register. so this panel is the place which will include the corresponding modules Jul 15 21:57:33 now you see only one because is an example and serves my purpose Jul 15 21:57:57 you want to deploy it to a server newbeen or to a phone ? Jul 15 21:58:25 dimk: phone. using appmobi currently, but may ditch and use phonegap if that's better for enyo Jul 15 21:59:01 so yes , on what you asked before :P Jul 15 21:59:07 thanks :) Jul 15 21:59:20 no is not better. I dont know appmobi so I cant tell you that is better Jul 15 21:59:32 so i build me app, run node.js, then put the thing into appmobi (or phonegap)... Jul 15 21:59:42 "thing"=output from node.js Jul 15 21:59:49 yeap that is the idea Jul 15 22:00:35 when you ll be in that stage, come back and ask ! :D Jul 15 22:00:43 yup :) Jul 15 22:01:09 my next question is probably going to be "how do i put an image in a panel" ... soon ... Jul 15 22:01:36 wait for Panel related questions in the queue :P Jul 15 22:01:53 i've got a ticket, #2 Jul 15 22:02:18 newbeen: yeah, it's not packaged up, but it puts it in a "deploy" folder, and you can just copy that to the server dir Jul 15 22:02:28 fab Jul 15 22:03:42 :)) Jul 15 22:04:46 summatusmentis: I think I got it somewhere. If i ditch the scroller show me the panel Jul 15 22:04:59 I think panel nested to a scroller... not good idea. Jul 15 22:06:28 panel shouldn't need a nested scroller Jul 15 22:08:29 yeah well ... two days later.. problem ffound a way to solve the problem Jul 15 22:10:42 why aren't you just declaring Access? Jul 15 22:12:38 is there documentation on how enyo handles resolutions/pixel densities? (or the requirements when preparing images, etc?) Jul 15 22:12:45 because it feels too brutal to throw inside my main app container another container without logic regarding the structure Jul 15 22:13:03 newbeen: I'm not sure Jul 15 22:15:56 dimk_: the issue is your panels are being created, but have a height of 0px Jul 15 22:16:04 which means something your layout structure is acting weird Jul 15 22:16:31 dont ask me why. replace the scroller right there with enyo.Panel Jul 15 22:16:37 everything works like a charm Jul 15 22:16:37 http://jsfiddle.net/ydHZc/8/ Jul 15 22:17:05 that gave some perspective Jul 15 22:17:43 I've gotta stop futzing with this Jul 15 22:17:57 hahaha Jul 15 22:18:00 nothing about your jsfiddle looked wrong, I cleaned up some stuff Jul 15 22:18:09 the issue is the height of your panels Jul 15 22:19:01 I am not sure what causes that. I am following the documentation and there is nothing I can say about what causes that Jul 15 22:20:05 it's related to the fittables, is my guess Jul 15 22:20:26 I tend to believe it also Jul 15 22:20:59 i loved the flexboxes even with their quirks. now I have to start over writting down dos and donts Jul 15 22:21:35 thank you for the time summatusmentis Jul 15 22:22:07 sure thing Jul 15 22:23:02 I got a good idea on what to avoid... also rethink my proposal high above! I am willing to work on that for a weekend project if it sounds good ! Jul 15 22:26:13 * newbeen shuffles up to #1 on queue Jul 15 22:27:29 newbeen: your "put an image in something" question is answered in the docs about enyo.Image Jul 15 22:28:03 most kind Jul 15 22:28:16 it felt too embarassing to actually ask... Jul 15 22:29:06 your code will look roughly something like: {kind: enyo.Panels, arrangerKind: "whatever", components: [{enyo.Image, src: "path/to/relative/source.jpg"}]} Jul 15 22:29:26 assuming you meant enyo.Panels when you said "put an image in a panel" Jul 15 22:30:09 yup, got that from the Panels doc. by the way, is "kind: Panels" the same as "kind: enyo.Panels" ? Jul 15 22:30:18 should be Jul 15 22:30:30 I just tend to prefer referring specifically to where it comes from for clairty Jul 15 22:30:32 clarity* Jul 15 22:30:37 (doc says Panels without the "enyo." - i'm sure namespaces will be a fun lesson coming up) Jul 15 22:30:55 namespaces you should care about are enyo.* or onyx.* Jul 15 22:30:56 newbeen: my suggestion: choose a way to declare it and stick with it. Jul 15 22:31:06 I use the same with summatusmentis Jul 15 22:31:13 I tend to prefer enyo.* and onyx.*, and then differentiate my own kinds without a namespace Jul 15 22:31:39 also, if I use enyo.* and onyx.*, I don't have to wrap it in quotes Jul 15 22:31:46 yeap Jul 15 22:32:40 the Panels doc gives three components with only "name" defined Jul 15 22:32:47 Also looks better on my syntax highliter. Strings are orange and if use for everything a string it seems to messy to mee :P Jul 15 22:33:01 dimk: is there an enyo-aware editor? Jul 15 22:33:07 ares-project Jul 15 22:33:25 newbeen: yep, those are just generic divs Jul 15 22:33:29 I still dint manage to get it to run so dont ask me regarding this :D Jul 15 22:33:33 ah, i looked at that. again, got scared off when i couldn't find setup.exe ... Jul 15 22:33:41 hahahha Jul 15 22:33:49 I tried ares once, it bugged me Jul 15 22:33:52 vim works well enough Jul 15 22:33:58 everything is web there so you should look for index.html :P Jul 15 22:34:06 the student working with me is using sublime2, which is semi-aware Jul 15 22:34:11 summatusmentis: a tip for you. Use tern.js Jul 15 22:34:13 you ll love it Jul 15 22:34:21 does it have setup.exe? Jul 15 22:34:24 (traverses folders for lib definitions) Jul 15 22:34:28 I am using brackets and sublime. depends on the mood Jul 15 22:34:29 sublime? yes Jul 15 22:34:36 dimk_: tern or term? Jul 15 22:34:42 terN Jul 15 22:34:55 autocompletion for javascript Jul 15 22:34:59 summa: j/k. i've used sublime before. how do you mean, semi-aware? good enough? Jul 15 22:35:04 and more goodies Jul 15 22:35:53 newbeen: it's not enyo-aware, but it reads the file open, and auto-completes based on previous use, iirc Jul 15 22:35:54 dimk: web's cool and all, but a serious code editor? really? have to see to believe... Jul 15 22:35:57 dimk_: intriguing Jul 15 22:36:10 is all about familiarity. Today I was in a ruby meetup and the guy was presenting vim for ruby use.. he was so familiar that made my editors to look stupid Jul 15 22:36:24 summa: ah yes. it does that. it plagued me because it made me think things were possible when they weren't... Jul 15 22:36:27 hardcore vim users are kinda crazy Jul 15 22:36:31 newbeen: right Jul 15 22:36:33 summatusmentis: once you ll try it you ll stick with it Jul 15 22:36:44 it's not quite eclipsey, but sorta kinda Jul 15 22:36:58 dimk_: I'm pretty ok without, we'll see Jul 15 22:37:16 check :) Jul 15 22:37:27 and my Java code is what's bugging me right now Jul 15 22:37:56 ??why is that ? Jul 15 22:38:22 you speak to a .net developer right now. I want to hear you :D Jul 15 22:38:35 trying to figure out JSON serialization of postgis geometry objects being stored in our DB over a REST API Jul 15 22:38:56 i've got bootplate. everytime i make a change, do i need to run node.js? (the index.html references build/app.js ... ?) Jul 15 22:39:05 the actual issue is that our ORM isn't hooking up properly to the mapping structure Jul 15 22:39:07 from what I know for java.. .JSON support sucks balls Jul 15 22:39:15 newbeen: the point of the node.js process is for finalizing a build Jul 15 22:39:16 thank god google made some lib Jul 15 22:39:37 summa: ah Jul 15 22:39:38 you can just reference the debug.html file in the dir, without packaging, and get the non-packaged version Jul 15 22:39:48 no need to "build" js for testing Jul 15 22:39:52 interpreted languages :) Jul 15 22:40:16 you want to get the whole relational model and mapp it as it is to JSON ? Jul 15 22:40:18 i guess i meant 'deploy.bat' :) Jul 15 22:40:22 dimk_: right, it's not the json stuff that's the issue really, it's what happens behind the json Jul 15 22:40:30 but thanks! that's a valuable nugget: debug.html for developing Jul 15 22:40:34 dimk_: not quite Jul 15 22:40:38 but sorta Jul 15 22:41:03 newbeen: right, debug.html references the non-uglified files, so you can use the web inspector and get line numbers for errors and things Jul 15 22:41:30 great Jul 15 22:41:40 When I was working on some XML parsers for JAVA , there was a JAXB that mapped the orm to classes Jul 15 22:41:56 and then serialized that to xml Jul 15 22:42:24 maybe you need to go that way and study the architecture. I am not sure even of the name right now. Jul 15 22:43:07 no, the json serializer is working Jul 15 22:43:24 the issue is the postgis/hibernatespatial mapping to the DB tables Jul 15 22:44:45 ok I understand. I don't know many things for hibernate . used only on academic level and I wont be of help in that Jul 15 22:46:03 s'ok Jul 15 22:46:04 enyo Image actually has no sample ( http://enyojs.com/api/#enyo.Image ) Jul 15 22:47:23 summa: the line "{enyo.Image, src: "path/to/relative/source.jpg"}" resulted in "Unexpected token ." Jul 15 22:47:41 the guys is insane ... https://github.com/mame/quine-relay Jul 15 22:48:29 do you have it wrapped in components: [] Jul 15 22:48:36 I mean inside components Jul 15 22:48:38 ? Jul 15 22:48:44 yup Jul 15 22:48:53 components: [ Jul 15 22:48:54 {enyo.Image, src: "path/to/relative/source.jpg"} Jul 15 22:48:54 ] Jul 15 22:49:04 do you have all commas set? Jul 15 22:49:10 newbeen: oh, sorry, bad syntax Jul 15 22:49:24 {kind: enyo.Image, src: "path/to/relative/source.jpg"} Jul 15 22:49:39 xa! Jul 15 22:49:54 every declaration of every kind has to have "kind: enyo.Whatever" in it Jul 15 22:49:59 I didnt noticed that either. Jul 15 22:50:41 when is unexpected token know this newbeen. There is a mistake on constructing the object { token: value } Jul 15 22:50:52 actually, I should be more clear, when you're defining a component of a specific type you have to say kind: enyo.Something Jul 15 22:51:00 there was a squiggle on the . (using visual studio - maybe it's quite intelligent enough for enyo) Jul 15 22:51:19 you can leave out the kind declaration, and it'll default enyo.Component Jul 15 22:51:20 newbeen: you are official MS guy. Jul 15 22:51:20 dimk: ok, thanks Jul 15 22:51:22 :D Jul 15 22:51:48 but you can't leave out half the kind delcaration, because that's bad syntax Jul 15 22:51:51 yes... it doesn't feel dirty :) Jul 15 22:52:01 newbeen: not sure how familiar you are, but all of enyo is JSON format Jul 15 22:52:08 newbeen: I want clients like you in future! ! ! Jul 15 22:52:13 summa: right. i can see this is going to be a long hard road with loose syntax Jul 15 22:52:19 if you think about it all as a key-value pair definition, that'll be easier Jul 15 22:52:31 what! i thought it looked familiar ... ALL of it is JSON? Jul 15 22:52:36 JSON objects are wrapped in {} Jul 15 22:52:39 arrays are [] Jul 15 22:52:46 yep Jul 15 22:52:52 don't give up and you ll be amazed later on Jul 15 22:52:53 JSON, with a few wrapper functions Jul 15 22:52:56 dimk: why? but i'll be happy to be your client :) Jul 15 22:53:11 * newbeen goes to lie down for a while... programming in JSON... what's next... Jul 15 22:53:11 I ll be happy to have you as one! :D Jul 15 22:53:18 hahahhaha Jul 15 22:53:31 I am also out Jul 15 22:53:44 newbeen: I guess technically, part of it is associating JS functions with a JSON key Jul 15 22:53:45 good night Jul 15 22:53:52 and thanks again dimk and summa Jul 15 22:53:55 sure thing Jul 15 22:53:58 tah Jul 15 22:53:59 sure ! Jul 15 22:54:04 thanks also summatusmentis Jul 15 22:54:14 bz Jul 15 22:54:32 tah Jul 15 22:54:36 oh, missed hiim **** ENDING LOGGING AT Tue Jul 16 02:59:58 2013