**** BEGIN LOGGING AT Wed Sep 24 03:00:00 2014 Sep 24 03:09:46 helo Sep 24 03:09:53 is there a way to block or trap the bak button on android Sep 24 05:17:35 hi Sep 24 05:17:59 does enyo have a tool like polymer vulcanize? id like to strip out all unnecessary code from the framework. all i am doing is displaying an img full screen Sep 24 05:18:11 or how would i go about understading what the dependencies are Sep 24 05:18:19 best would be a tree shaker like dart has Sep 24 05:18:43 or perhaps one can run enyo through dart2js ? Sep 24 07:56:50 hi Sep 24 07:57:10 whats the recommended way to wrap up a chunk of html into a component Sep 24 07:57:43 is there a way to include html + javasscript Sep 24 07:57:56 or do i have to make a big string for content? Sep 24 07:58:07 or inject stuff through a json object Sep 24 15:16:35 hi Sep 24 15:16:48 any particular reasons my enyo.Signal is not working? Sep 24 15:17:05 i cant for the life of me get it to talk to my class Sep 24 15:17:14 been there :) Sep 24 15:17:44 irc_smirk: We don't know your code :P Sep 24 15:17:56 irc_smirk: try making a fiddle for it: http://www.jsfiddle.net Sep 24 15:19:25 id have to build a mini example Sep 24 15:19:44 but signals is built into the core include right? i dont have to configure it with a depends somewhere along the way do i? Sep 24 15:19:46 yup, that's the general idea Sep 24 15:20:11 yea, enyo.Signals is part of the default library Sep 24 15:21:19 ok thanks. so where is webos today? just the LG tvs or are there are devices that run it Sep 24 15:22:45 LG TVs, the old WebOS phones, and specific Android devices that the webos-ports team have gotten to boot WebOS Sep 24 15:25:25 pitty its not more popular Sep 24 15:25:31 i guess it lives on with enyo Sep 24 15:30:57 is it safe to remove js files from the core that i know my app wont use? Sep 24 15:31:32 Well, I can guarantee that the TV interface is pretty awesome. (Even if LG is doing some stupid things regarding it) Sep 24 15:32:05 irc_smirk: Probably? But instead, you should just use the minimized version: enyo.js Sep 24 15:33:08 im sorry i meant with stuff like the libs. onyx Sep 24 15:33:23 if i just use certain ui components the others dont get loaded right? Sep 24 15:36:36 Well Sep 24 15:36:55 there might be a problem with the enyo.depends looking for it Sep 24 15:36:58 and not finding it Sep 24 15:37:39 with depends i can just load the specific ui library i want? Sep 24 15:38:43 well, onyx and moonstone are really the only UI libraries anyone uses right now Sep 24 15:39:04 (heritage and mochi are the only other ones I know of) Sep 24 15:40:17 no i mean if just want the textarea of onyx Sep 24 15:40:31 i think i see how it works. you create a package.js and in there put in just the file syou want Sep 24 15:40:54 and if a component has multiple depends then you depend on its directory and it looks for its package.js Sep 24 15:40:58 is that pretty much it? Sep 24 15:42:48 Yea, but generally, you aren't supposed to cherrypick specific controls from the library Sep 24 15:44:08 Also, it's not the the component has a "depends". Think of it more like enyo.depends runs a recursive include. Including all of the definitions needed for what you asked to include. Sep 24 15:48:02 jsut trying to see what the smalles build could be Sep 24 15:48:12 i dont need localization and a whoel bunch of other stuff Sep 24 15:56:19 localization is in a separate library Sep 24 15:56:52 Basically, you will need Enyo and likely Layout for whatever you want to need Sep 24 15:57:18 And if you want to use the Onyx stuff, then it's worth it to just include all of Onyx Sep 24 15:59:22 former flex guy here traumatized by past experiences with mega huge downloads size for simple buttons on the screen Sep 24 15:59:40 lol Sep 24 16:00:04 Don't worry, Onyx doesn't weigh you down much Sep 24 16:15:30 morning enyos Sep 24 16:16:02 good morning Sep 24 16:19:56 dmanderson, any update on the sizing issues I showed you? Sep 24 16:20:42 link me again :) Sorry, had different focuses last couple weeks, than enyo core. Sep 24 16:21:17 https://enyojs.atlassian.net/browse/ENYO-4066 Sep 24 16:35:21 Ah yes, I’ll put this in my que today. Sep 24 18:06:29 hi all Sep 24 18:06:39 can I pick some people's brains? Sep 24 18:07:45 rather not :) Sep 24 18:07:51 but if you have question.. Sep 24 18:08:25 I had a nearly-complete mobile app in 2.2 that I let sit for too long Sep 24 18:08:30 and now there's 2.4 Sep 24 18:08:39 how easy is this upgrade going to be? Sep 24 18:12:19 hey summatusmentis Sep 24 18:12:25 hi GodGinrai Sep 24 18:13:03 I doubt there will be much problems w/ the upgrade from 2.2 to 2.4. I don't particularly remember anything that broke between the two. Sep 24 18:13:26 I would suggest converting your onyx.Drawer to an enyo.Drawer if you have any, tho' Sep 24 18:14:12 then the question is about transitioning into the mvc world Sep 24 18:14:17 and the router stuf Sep 24 18:14:25 (which is why I'm upgrading at all) Sep 24 18:14:30 Now *that* could be some work Sep 24 18:15:00 can I use the router stuff in the "old world" without adopting the mvc stuf? Sep 24 18:15:00 You'll have to refactor a lot of things now that you have bindings. But it should make your code cleaner in the end Sep 24 18:15:03 or not really? Sep 24 18:15:25 as for enyo.Router, I still don't have experience with that one. sugardave may have some insight? Sep 24 18:24:37 yikes, I think this is gonna be a big deal Sep 24 18:25:10 maybe I won't worry about this right this second Sep 24 18:29:39 Well Sep 24 18:30:29 Your current code should work fine w/o bindings. It's just that if you want to switch to using bindings, you will need to take out a lot of the message-passing you were likely doing Sep 24 18:30:46 (as well as change all your lists and repeaters to Data variants) Sep 24 18:43:19 yeah, that sounds like a lot of effort in the near term Sep 24 18:43:28 means a lot of learning overhead Sep 24 18:43:54 I mean, there's nothng wrong with staying on 2.2 either, right? Sep 24 18:44:03 or does something later incorporate browser differences? Sep 24 18:47:20 summatusmentis: You could always just upgrade to 2.4 and code it like you're on 2.2 Sep 24 18:49:08 yeah... that involves figuring out all my submodule stuff again Sep 24 18:49:24 which I don't recall how to do Sep 24 18:49:35 I'm mostly just being lazy at this point Sep 24 18:50:42 just a quick note: you sould be able to use enyo.Router without needing to convert old Enyo code into new-style MVC Sep 24 18:51:09 True. Sep 24 18:51:16 it's mostly a "set up these methods to run when this path is recognized in the window location" thing Sep 24 18:51:31 Hmm, I didn't write about enyo.Router, I thnk Sep 24 18:51:46 Bad Roy__away!!! Sep 24 18:52:01 oh... that's not quite what I wanted for this... unless there's a way to play with window location upon having a notification or something Sep 24 18:52:17 I was hoping it'd be an easy to way to have state imposed on the app Sep 24 18:52:36 like, you can "tap" a link to do that....in code or through the UI Sep 24 18:52:57 You can also set the location hash through it. Sep 24 18:52:57 it will do what you want, I'm pretty sure Sep 24 18:53:04 hrm Sep 24 18:53:40 I need to make a note to write about enyo.Router. Sep 24 18:53:48 ^ yes, indeed Sep 24 18:53:48 >sigh< I thought I was done with rev 2. Sep 24 18:53:57 Lack of documentation is why I don't use enyo.Router Sep 24 18:54:03 for instance, you could set the location hash (or state) and have enyo.Panels load some new exciting thing Sep 24 18:54:45 appurl/#settings loads settings panel, etc. Sep 24 18:56:51 I need to find the sample I wrote with Router. I can share it if I find it, I think. Sep 24 18:57:14 Oh, it was an Enyo tutorial written in Enyo. Sep 24 18:57:49 sugardave: yeah, that's what I want, if "appurl" can be a thing internal only to the app Sep 24 18:58:12 it uses window.location, I believe Sep 24 18:58:47 so it would be known to the outside world if you're hosting it on a web server Sep 24 19:00:37 Here's a pastbin Sep 24 19:05:29 Well. Sep 24 19:05:29 My network connection is flaky. Sep 24 19:05:29 http://pastebin.com/NV4v81EM Sep 24 19:05:30 navigate() is a function you can call to update the route Sep 24 19:06:39 btw Roy, you shouldn't use pastebin.com. It's not good for code Sep 24 19:07:26 Roy__away: these would be better: bpaste.net, gist.github.com, sprunge.us, or ix.io Sep 24 19:09:30 sugardave: yeah, but I'm not hosting on a webserver, phonegap Sep 24 19:09:48 Roy__away: thanks, I'll look at that Sep 24 19:12:35 Roy__away - thank you for your book. learning lots from it Sep 24 19:14:55 irc_smirk: you talking about the Enyo: Up and Running book? Sep 24 19:17:49 irc_smirk: Yay! Sep 24 19:18:01 New revision will be going up soon that brings everything up-to-date. Sep 24 19:21:36 yes Sep 24 19:21:43 only one out there isnt? Sep 24 19:21:46 i only wish it could be longer Sep 24 19:21:59 Enyo: Up and Running...and sprinting ahead Sep 24 19:22:21 id definetly buy that as an add on. i think you could create a small market for yourself Sep 24 19:22:58 Yea, the book is rather thin <.< Sep 24 19:24:05 The new version has more pages! Sep 24 19:24:17 A whole new chapter on data driven apps. Sep 24 19:24:20 ive attempted to write tech books in the past. i can appreciate getting past the tedium of explaining how to install and core concepts Sep 24 19:24:35 with that out of the way you should write (or let others write) how to write apps (case study style) Sep 24 19:24:41 Which covers models, collections and data-aware controls. Sep 24 19:24:58 you shoudl have a chapter on TV Sep 24 19:25:09 thats gonna be the explosive buzz next year Sep 24 19:25:20 There's a bit about deploying to webOS TV. And some talk about Moonstone. Sep 24 19:25:39 Although Moonstone is so meaty I can't really get into it. Sep 24 19:26:12 id just focus on the very basic patterns on tv. tv guides, etc Sep 24 19:26:29 esp the spotlight api Sep 24 19:27:31 hey id love to contribute a chapter ;) Sep 24 23:24:45 helo Sep 24 23:27:39 hello Sep 24 23:29:01 how the day been going Sep 25 00:26:22 hei Sep 25 00:26:30 so im having problems with signals Sep 25 00:26:54 i the issue is seen on all enyo youtube player examples ive seen Sep 25 00:26:57 like this one http://www.szosti.eu/m/enyo/support/apps/youtube/ Sep 25 00:27:20 the issue is the youtube api script is loaded and its callback is support to send a signal Sep 25 00:27:46 tthis is done in a statics part. and the signal call back is in the objects method Sep 25 00:28:43 if you try that link youw ill see the player never shows up Sep 25 00:28:53 thats because its never created. the signal is never received Sep 25 00:31:40 is there a way i rewrite this so that i can call the instance method from within the static line? Sep 25 00:32:14 this code http://www.szosti.eu/m/enyo/lib/extra/youtube/YouTube.js Sep 25 00:33:09 you don't need to do that Sep 25 00:33:49 all you have to do is nest a Signals object as a component and have it call that method when the "ApiReady" event fires Sep 25 00:34:54 tthats what that code does Sep 25 00:34:56 but fails Sep 25 00:35:06 no Sep 25 00:35:19 it fires an event on the global Signals object Sep 25 00:35:21 look at line 34 view-source:http://www.szosti.eu/m/enyo/lib/extra/youtube/YouTube.js Sep 25 00:35:37 you need an instance of the Signals object to\ receive the event Sep 25 00:35:58 oh Sep 25 00:36:05 must have missed it the first time Sep 25 00:36:18 oh Sep 25 00:36:25 that's because it's wrong Sep 25 00:36:26 the worst part is that sometimes the playe rloads sometimes it doesnt. becaue of the timign Sep 25 00:36:34 iirc Sep 25 00:36:45 the event you fire and the event on the Signals instance have to be the same Sep 25 00:36:50 that includes the "on" part Sep 25 00:37:23 so what line has to be changed and to what Sep 25 00:37:34 enyo.Signals.send("ApiReady"); Sep 25 00:37:40 to enyo.Signals.send("onApiReady"); Sep 25 00:38:10 is that what this is doing {kind: "Signals", onApiReady: "apiReadySignal"}, Sep 25 00:38:23 oh i see what you mean Sep 25 00:38:25 that's supposed to receive the event Sep 25 00:39:21 yes thats supposed to fix it Sep 25 00:39:38 I feel like this should have a create function that calls createPlayer Sep 25 00:40:12 its probably from an older api? Sep 25 00:40:21 possibly Sep 25 00:40:50 ok cool i found a bug Sep 25 00:41:03 so how do submit my first ever bug fix on github Sep 25 00:41:42 fork the repo, make the change, push the change to your fork, and then make a pull request against the parent repo Sep 25 00:41:56 ok ill research all that. sweet Sep 25 00:42:13 thanks. ive gone on 24 hours banging my head Sep 25 00:42:22 np, glad to help Sep 25 00:42:35 I saw you on here earlier, but you were gone by the time I got here Sep 25 00:44:57 apply ice to my head Sep 25 01:05:44 dmanderson: or sugardave: My forums account has been in limbo for a while. Decided to send a mail to contact@enyojs.com and the message was returned saying it’s undeliverable. Sep 25 01:47:50 anyone know of a webview type component ? should i just work one up from an iframe? **** ENDING LOGGING AT Thu Sep 25 03:00:01 2014