**** BEGIN LOGGING AT Sun Sep 30 03:00:00 2012 Sep 30 08:31:51 is there an easy way to reference the main app object in any kind? Sep 30 10:01:20 and does anyone know of any enyo related events in sweden soon? =) Sep 30 10:15:09 here's something cool that's underway: http://forums.enyojs.com/discussion/806/questions-in-order-to-support-enyo-in-illuminations-firebug Sep 30 10:17:09 thats really nice if one is seriously using Enyo :) Sep 30 13:50:10 found a bug :/ Sep 30 13:55:08 if you go to http://enyojs.com/sampler/ and then the Layout -> List -> Pulldown list (Twitter), and press the View Source button, you get the source Sep 30 13:55:29 now, if you have the browser window sized so that there's a horizontal scroll in the source view, you can scroll it to the right just fine. Sep 30 13:56:19 but when you scroll back to the left, it doesnt just scroll, instead it tries to move the view/panel as well, to the left. effectively screwing up the scrolling until you moved the entire panel to the left heh Sep 30 13:56:45 this probably goes for all source views in the sampler Sep 30 19:37:45 is there a convenient global reference to the main app kind? Sep 30 19:40:22 yes, yu can name it whatever you like in your .html Sep 30 19:40:34 somename = new myKind().write(); Sep 30 19:40:52 then you can access it anywhere.. somename.whatever ;) Sep 30 19:41:29 (assuming whatever is a property of somename o.O) Sep 30 19:43:39 i have a bunch of kinds (cells) and need to reference the main app kind on taps Sep 30 19:44:01 but i didnt want to give them a property to store the reference to the app kind Sep 30 19:48:40 you can always store stuff in the window variable Sep 30 19:50:57 ? Sep 30 19:51:02 window is global? Sep 30 19:51:22 how could i store a ptr to my app kind in that so i can reference it anywhere? Sep 30 19:55:21 just: window.app = new myApp().write(); Sep 30 19:55:32 then anywhere you can call window. Sep 30 19:55:52 window.$.mykind.$.anotherkind etc Sep 30 19:56:02 window.app.$ ** i meant Sep 30 19:56:18 it works just like any other javascript global Sep 30 20:10:46 fxspec06: i guess that you meant, window.enyo.$.mykind... Sep 30 20:11:48 nice thanks Sep 30 20:12:13 thats much cleaner. is this the typical pattern for talking to main app from a nested kind? Sep 30 20:42:30 drunknbass: usually you want to create components that can be reused .. you just fire events doEvent() and some other component in the hierarchy will handle it Sep 30 20:56:03 yea ok. makes sense Sep 30 23:33:12 breaking encapsulation makes Enyo framework developers cry :( Sep 30 23:34:29 hola sugardave.. long time no see **** ENDING LOGGING AT Mon Oct 01 03:00:00 2012