**** BEGIN LOGGING AT Wed Jan 28 02:59:59 2015 Jan 28 06:04:12 Where’s the obscure 2.3 -> 2.5 upgrade notes page? I can’t seem to find my bookmark for it. Jan 28 06:05:22 Should I be setting attributes in my kind defintion instead of defaults? Jan 28 06:10:34 here you go: https://github.com/enyojs/enyo-docs/blob/master/developer-guide/release-notes/migration-2.3-to-2.5.md Jan 28 06:10:48 yes attributes is right Jan 28 06:11:33 Thank you. Jan 28 06:18:47 The numerous breaking changes in the data-driven feature do not inspire confidence in Enyo’s stability. Jan 28 06:21:51 Can’t disagree with you DougReeder Jan 28 06:22:46 yes.. data should at least have been marked experimental or something in 2.3/2.4. Jan 28 06:23:39 in a 2-way binding, the second argument passed to transform is 1, rather than “source”. Is it supposed to work that way now? Jan 28 06:24:54 I recognized that, too... the other way is 2. There are constants for that somewhere... DIRTY_ something. Not sure it is supposed to be that way Jan 28 06:25:28 The JSDoc for Binding.js still lists the values as “source” and “target” Jan 28 06:25:56 enyo.Binding.DIRTY_TO and enyo.Binding.DIRTY_FROM are the constants. Maybe we are supposed to use them? ;) Jan 28 06:26:28 I did so in my app... let's see how that works out. At least I can identify the error, now. Jan 28 06:28:05 Hmm, those constants appear to be for the “dirty” property, allowing one to specify four combinations. Jan 28 06:28:48 hm. But the code gives those constants as parameter to transform Jan 28 06:34:28 Yeah, it does seem intentional. Jan 28 14:43:50 Hello Enyoers, I was wondering if there was an enyo function to get the dom element of an enyo component. It seems like it should be so obvious but I'm not finding it. Jan 28 14:44:07 getNode() Jan 28 14:44:14 Thanks! Jan 28 14:44:15 wait, hasNode() Jan 28 14:44:38 awkward name :) Jan 28 14:44:45 hasNode sounds like it should be a bool Jan 28 14:46:21 Well, it return null which is falsy if the DOM element doesn’t exist yet. Jan 28 14:46:50 … and the Element, which is truthy, if it does. So you can use it like a boolean. Jan 28 14:47:00 So it can (sort of) work both ways. Jan 28 14:47:04 Yup! Jan 28 14:51:23 okay, next question... it seems like create() is pre-render. Is there a function that is post render where I could perform an action on the rendered node? Jan 28 14:52:14 What I'm really trying to do, if it helps, is use FitText ( https://github.com/adactio/FitText.js ) Jan 28 14:54:24 I don’t recall, offhand. Jan 28 14:54:28 To answer my own question, the function I'm looking for is rendered() Jan 28 14:54:40 * DougReeder smiles “Yeah, that one” Jan 28 18:09:52 I have a groupbox with in which I would like to scroll the element, is that possible ? Jan 28 18:20:05 Semanticfire Not sure if I missed something, but that didn’t make any sense to me :D Jan 28 18:21:58 ohw okay Jan 28 18:22:04 I have onyx groupbox Jan 28 18:22:13 with a group-header Jan 28 18:22:58 and underneath a data repeater which creates components Jan 28 18:23:15 i would like these components be scrollable Jan 28 18:23:30 so I wrapped the repeater in a enyo.scroller but no effect Jan 28 18:24:59 Semanticfire: enyo.DataList is an enyo.DataRepeater with a built-in scroller Jan 28 18:25:07 just use DataList Jan 28 18:25:58 k Jan 28 18:28:11 woot problem solved Jan 28 18:34:46 I'm not sure yet :) Jan 28 18:35:05 lol Jan 28 18:36:37 its not a functional replacement of dataRepeater Jan 28 18:36:49 just changing kind name is causing more havoc :) Jan 28 18:37:58 Yeah, it’s functionally different Jan 28 18:40:20 hrm, how so? Jan 28 18:40:42 I've been able to interchange DataRepeater, DataList, and DataGridList with relative ease back on 2.4 Jan 28 18:40:52 did something change with that in 2.5? Jan 28 18:41:45 anyway setting a overflow hidden does the trick as well Jan 28 20:54:17 I see setStyle is deprecated. Is there something to replace it? Jan 28 21:00:29 trex005: why do you need setStyle? Jan 28 21:08:21 I'm toggling the display of an element Jan 28 21:17:19 trex005: show() and hide() exist on all enyo.Controls Jan 28 21:25:17 enyoers rule! Jan 28 21:33:57 angularers drool? Jan 28 21:43:43 YEAH! Jan 28 21:43:45 I like it Jan 28 21:43:47 lets get it on a shirt. Jan 28 21:44:06 Enoyers Rule, Angularers Drool, Emberers are Fools Jan 28 21:44:07 :D Jan 28 21:44:21 * dmanderson just kidding! Jan 28 21:44:36 omg some serious stuff going down in enyoland Jan 28 21:49:36 lol Jan 28 21:53:47 GodGinrai: Thank you. That, of course works for what I'm doing now. What if I'm trying to change the background image? Jan 28 21:54:36 .setStyle(‘background’, cssString); Jan 28 21:55:06 dmanderson: the original question was "I see setStyle is deprecated. Is there something to replace it?" Jan 28 21:55:39 trex005: applyStyle() Jan 28 21:55:50 or, use classes like you should be doing Jan 28 21:56:59 there is also the new enyo.StylesheetSupport object Jan 28 21:57:06 Thank you :) Jan 28 21:57:23 tell us more dmanderson :) Jan 28 21:57:30 dmanderson: That object is bad practice Jan 28 21:57:41