**** BEGIN LOGGING AT Fri Oct 03 03:00:00 2014 Oct 03 18:15:55 morning enyos! Oct 03 18:32:40 morning Oct 03 18:53:38 morning! (somewhere) Oct 03 19:25:13 morning all Oct 03 19:26:01 dmanderson: do you know what applies enyo-stretch? I'm getting some weird CSS problems because of it Oct 03 19:26:05 oh I had an enyo question days ago. I think I wrote it down Oct 03 19:26:54 hey Zectbumo Oct 03 19:27:11 hi GodGinrai Oct 03 19:28:28 ok I don't remember what I was doing but this is what I wrote down "How do you bind to a DataRepeater selected() element?" Oct 03 19:29:20 oh yeah, I remember now. I wanted to bind to a DataRepeater so when something is selected it would change a property of another object to the selected item. Oct 03 19:30:06 just bind to .selected like it is a property Oct 03 19:33:36 hmm, I thought I tried that Oct 03 19:39:19 morning GodGinrai Oct 03 19:40:47 The picker I was playing with from yesterday is acting up now. Locally when I try it the formatting is messed up (all the content is jumbled together). However, in JSFiddle the picker looks fine. Oct 03 19:41:22 weird Oct 03 19:41:34 you could have some CSS rule that may be conflicting with it Oct 03 19:42:02 I would try checking the JSFiddle version and your local version with the inspector in your dev tools and seeing if there is anything else applying CSS rules to your local copy Oct 03 19:43:25 Hey GodGinrai did you get an answer? Oct 03 19:45:27 dmanderson: no Oct 03 20:06:13 I’m not using any CSS styles yet… There are 4 errors in the local build, none in the fiddle. The errors are all related to data.less (which I’m not using, don’t know what it is or how) XMLHttpRequest cannot load file:///Users/Ryan/Desktop/5s/enyo/source/ui/data/data.less. Cross origin requests are only supported for HTTP. Oct 03 20:08:17 yea, that one should not matter Oct 03 20:08:29 can you upload an image of what it looks like on your local copy? Oct 03 20:08:40 (the formatting error) Oct 03 20:15:06 i2y4n: Do an npm install -g serve and you can have a little web server to start up and shut down. Oct 03 20:15:49 ? Oct 03 20:16:31 https://www.dropbox.com/s/9tsrmxcoaned8ia/Screenshot%202014-10-03%2012.41.11.png?dl=0 Oct 03 20:16:56 Roy__: I have no idea how to do that Oct 03 20:18:57 Roy__: Not everyone has node installed Oct 03 20:20:00 So, i2y4n, the +,=, and * were separate elements like in the jsfiddle? Oct 03 20:20:22 @GodGinrai >gasp< Oct 03 20:20:26 Yes, http://jsfiddle.net/i2y4n/1c5xcg6g/ Oct 03 20:20:45 i2y4n: Install node from here: http://nodejs.org/ Oct 03 20:20:54 @GodGinrai Get on the boat, man. Oct 03 20:21:46 Roy__: I have node installed. My point was that i2y4n isn't guaranteed to Oct 03 20:22:19 Also, honestly, Telling him to get node is overcomplicating things for what he needs to do Oct 03 20:22:40 If he *really* needed a webserver, he'd be better off just installing apache or nginx Oct 03 20:23:11 that way, he could also install server-side technologies that he might also need for development (PHP, etc.) Oct 03 20:24:00 Most of the time you don't need that for local development. Oct 03 20:24:13 serve is a perfectly good solution for spinning up a server in a directory you're testing. Oct 03 20:24:22 Roy__: Most of the time, you don't need node for js development as well Oct 03 20:24:48 Since node is used by bootplate for minifying, there are good reasons to install it. Oct 03 20:25:10 i2y4n: And you're saying the code is exactly the same between the fiddle and your local? Oct 03 20:25:30 Roy__: Except the bootplate is a mess Oct 03 20:26:08 Roy__: True, except I don’t know how to use any of that stuff. The directions are lacking for me, it’s assumed that you already know what you’re doing. Oct 03 20:26:35 Yes, I even copied and pasted it from the fiddle to local Oct 03 20:30:21 i2y4n: I can try to explain anything you're unclear on. Installing node is very simple. Packaging is just as simple: Type tools\deploy.bat or tools/deploy.sh (windows or mac/linux) Oct 03 20:31:00 You don't need to use node for anything else if you don't want to. Oct 03 20:31:37 Eventually I’ll attempt it, not there yet though. Don’t have anything I need to deploy, can’t even figure out a picker, ha. Oct 03 20:31:46 Picker really, really sucks Oct 03 20:31:49 Roy__: You're going off on a tangent. He has a problem with his enyo code Oct 03 20:31:59 Roy__: +1, I hate the Picker honestly Oct 03 20:32:01 I was just fighting with picker myself. Oct 03 20:32:04 worst control in onyx Oct 03 20:32:08 I will probably make a data picker. Oct 03 20:32:21 Give it a collection and be done. Or a stringpicker. Oct 03 20:32:26 Just give it an array of strings. Oct 03 20:32:30 Make sure it actually follows the enyo.Input API this time Oct 03 20:32:34 Who needs all those controls. Oct 03 20:32:35 (get/setValue) Oct 03 20:32:41 setDisabled, etc. Oct 03 20:32:58 you mean get('value')/set('value'). :) Oct 03 20:33:30 No, I mean get/setValue for backcompat :P Oct 03 20:34:07 heh. Oct 03 20:36:11 I gotta say... I'm not sure why styling textboxes is fine in the specification, but radio buttons, selects, etc. are off-limits for styling Oct 03 20:38:02 Back in my day we had plain controls! And we liked it! Oct 03 20:38:17 We also used to tie onions to our belts, as was the style at the time. Oct 03 20:38:17 Seriously, tho', whatlol Oct 03 20:38:23 whoops, still had text Oct 03 20:39:07 I don't mind plain controls, but it really makes styled controls hard to do since you have to make something else that *acts* like something you already have Oct 03 20:40:32 seriously, tho'. What sets enyo-stretch? Oct 03 20:44:28 because it's killing my FittableRows kind right now Oct 03 20:52:22 Ok... I made a fiddle, and my problem does not persist there... Oct 03 20:52:28 wtf Oct 03 21:13:09 enyo.FittableLayout is looking for a noStretch property on the container Oct 03 21:14:13 which by default is false on FittableRow Oct 03 21:14:35 https://github.com/enyojs/layout/blob/5d5927068cbb6524e00a59f08683056fd71e0611/fittable/source/FittableRows.js#L44 Oct 03 21:19:20 dmanderson: noStretch: true just makes the row not stretch the width of the page Oct 03 21:19:50 right, whicih sets enyo-stretch Oct 03 21:19:57 my problem is that my FittableColumns that I put in my FittableRows are taking up all the vertical space for some reason Oct 03 21:20:09 even tho' my fit: true is on a kind that is below both of the columns Oct 03 21:20:09 fit: true ? Oct 03 21:20:14 Ah Oct 03 21:20:37 In the fiddle, it works: http://jsfiddle.net/ma7txgtr/ Oct 03 21:21:13 But my local copy at work is not working for some reason Oct 03 21:21:24 On that demo, the fit:true isn’t inside a fittable? Oct 03 21:21:47 look at "Chart and Table Data" Oct 03 21:21:50 nvm, Yeah I see Oct 03 21:23:36 this same code breaks somewhere else? Oct 03 21:42:17 GogGinrai: That same code from your fiddle works on my local computer Oct 03 21:43:09 GodGinrai: ^^ Oct 03 21:44:34 But I tried it without the colwidth css Oct 03 22:06:04 GodGinrai: pet peeve on your rendered override :P : http://jsfiddle.net/ma7txgtr/1/ Oct 03 22:30:08 How do I get a picker value? Am I on the right track? http://jsfiddle.net/i2y4n/1c5xcg6g/2/ Oct 03 22:45:37 @i2y4n add onSelect: 'Op' to the picker Oct 03 22:55:50 sugardave: yea, I'm still not used to that enyo.inherit thing Oct 03 23:03:25 enyo.inherited ftw Oct 03 23:03:26 ;-) Oct 03 23:05:32 Thank you… How should I think about getting the value of a specific picker if I use multiple pickers. When I call {kind: ‘Operator’} is there way to name it, if so I don’t know how to adjust the function, still struggling with learning the function syntax. Oct 03 23:06:20 Here’s my code with two pickers. http://jsfiddle.net/1c5xcg6g/5/ Oct 03 23:23:38 Here you go, this should help http://jsfiddle.net/1c5xcg6g/7/ Oct 03 23:29:03 Can you please explain this part to me? :) Oct 03 23:29:06 operatorStateChange: function(sender, val) { Oct 03 23:29:07 enyo.log(sender.name, ":", val) Oct 04 00:24:55 i2y4n: typically the events have the kind that originated the event as the first arg, so if you didn't explicitly name them and need to know which one it was (so you can do something with it) you have the reference there as sender in the example **** ENDING LOGGING AT Sat Oct 04 03:00:00 2014