**** BEGIN LOGGING AT Mon Sep 08 02:59:58 2014 Sep 08 13:38:48 hi all. question about 2.5 - anyone using bindings in 2.5? has anything changed from 2.4 - my previously working bindings are no longer working in 2.5... Sep 08 13:39:56 Are you talking about the nightly? As far as I am aware, 2.5 hasn't released yet. Sep 08 13:45:34 yes, nightly Sep 08 13:46:33 Well, I haven't had any problems recently w/ bindings in the nightly Sep 08 13:46:57 Maybe something else changed and it is just manifesting itself as a binding problem for you? Sep 08 13:52:01 Cage1: see? http://jsfiddle.net/d4d8cwan/ Sep 08 13:52:35 Cage1: can you try making a fiddle that shows your problem? Sep 08 14:54:55 ?_? Sep 08 14:59:42 morning, chall Sep 08 15:00:17 g'morning, GodGinrai Sep 08 15:01:10 done much enyo work lately? Sep 08 15:08:37 morning enyo Sep 08 15:10:21 morning dmanderson Sep 08 16:11:51 GodGinrai, I have Sep 08 16:11:58 quite a bit, actually Sep 08 16:23:22 chall: oh really? what kind of stuff are you coding? Sep 08 16:28:31 Hi GodGinrai: http://jsfiddle.net/warpuser/d4d8cwan/1/ Sep 08 16:43:05 Cage1: just to confirm, this same code worked previously? Sep 08 16:43:16 yes. Sep 08 16:43:34 except without the model Sep 08 16:44:04 without the model? Sep 08 16:46:55 as in { from: "^blah.TestSingleton.someModel.online", to: ".$.body.content" } Sep 08 16:47:52 if you switch to 2.4 on jsfiddle and modify line to above, you'll see it works. Sep 08 16:48:47 that's weird Sep 08 16:49:07 have you tried with the nightly sources rather than the minified nightly? Sep 08 16:49:27 i downloaded the source from github Sep 08 16:54:09 i imagine something to do with new types of models. Sep 08 16:54:18 wait Sep 08 16:54:21 I have an idea Sep 08 16:55:52 hrm Sep 08 16:55:59 I need to check the code in the 2.4 commit Sep 08 17:00:04 aha Sep 08 17:00:20 Cage1: I think I found the problem Sep 08 17:00:32 :) Sep 08 17:00:43 how to fix it is another issue XD Sep 08 17:01:12 :( Sep 08 17:01:29 They changed a lot about the source and target for bindings Sep 08 17:01:39 and screwed up ^ in the process Sep 08 17:01:48 hehe Sep 08 17:01:55 (since pretty much no one uses it, they probably never realized it) Sep 08 17:02:07 are you calling me no one? :) Sep 08 17:02:19 not at all ;) Sep 08 17:02:37 you used it, now it is realized :P Sep 08 17:02:47 my forum posting is at: http://forums.enyojs.com/discussion/2212/bindings-in-enyo-2-5#latest Sep 08 17:03:07 anything i can do as a temporizing fix? Sep 08 17:04:49 rather than global scope, use app scope Sep 08 17:06:07 you mean create this is a component/variable in the main app kind? Sep 08 17:07:29 Cage1: yes. Then you can refer to it using the app keyword: { from: ".app.someModel.online", to: ".$.body.content" } Sep 08 17:16:23 cool, it is (sort of ) working now Sep 08 17:18:30 sort of? Sep 08 17:31:28 hi Sep 08 17:31:37 hey SimpsonTP Sep 08 17:51:28 Wow, dmanderson, Cage1 stumbled upon a large bug in enyo.Binding <.< Sep 08 17:51:47 ohw ? Sep 08 17:51:59 which influences my problems :) Sep 08 17:53:00 SimpsonTP: if you use ^ in your from and to, your target and source will be equal to the value of the things you are pointing at, rather than a path to the things you are pointing at Sep 08 17:54:32 that I need to read twice :) Sep 08 17:54:47 So, for example Sep 08 17:54:58 Cage1 had a binding Sep 08 17:55:31 from window.blah.TestSingleton.someModel.online (which was equal to true) to this.$.body.content Sep 08 17:55:57 it looked like this: Sep 08 17:56:28 { from: "^blah.TestSingleton.someModel.online", to: "this.$.body.content" } Sep 08 17:57:17 in this case, the source *should* have been set to window (enyo.global) Sep 08 17:57:35 instead, it was getting set to true Sep 08 17:59:10 dmanderson: tell Cole he herpderped Sep 08 18:00:43 that could be something I had issues with as well Sep 08 18:01:10 It *only* affects code that uses ^ in the from or to Sep 08 18:01:22 so it will only affect you if you have tried to use that Sep 08 18:06:53 well Sep 08 18:07:04 I need to test the solution when I get home Sep 08 18:07:42 but if it works like it appears to, then the solution will actually make the code cleaner and easier to read ;) Sep 08 23:05:15 is it possible to tell a DataList to recalculate the height of it's pages without causing it to refresh all of them? **** ENDING LOGGING AT Tue Sep 09 02:59:59 2014