**** BEGIN LOGGING AT Mon Jul 14 02:59:59 2014 Jul 14 07:54:42 hi room Jul 14 07:57:54 link reserved for Simpson_2: https://developer.mozilla.org/en-US/docs/Web/API/window.onbeforeunload Jul 14 07:58:12 so he can read it in the logs, or I can tell him when he logs on :) Jul 14 08:03:44 aha, there he is: SimpsonTP, I'm guessing you're also Simpson2 from the logs :) Jul 14 08:04:09 https://developer.mozilla.org/en-US/docs/Web/API/window.onbeforeunload Jul 14 08:04:34 you could let enyo listen to this event, and then use that to fire up some signals Jul 14 08:14:32 pjetr, yes I am ;) Jul 14 08:14:52 pjetr, thx, I'll look into this ( I did figure out in the mean time that it was a server side problem ) Jul 14 08:20:14 :) Jul 14 13:13:56 hello Jul 14 13:14:41 hello Jul 14 13:24:55 lol this channel is as idle as always <.< Jul 14 13:34:48 you know it! Jul 14 13:34:58 that's because we're all hard at work Jul 14 13:35:07 ^^ Jul 14 13:40:52 lol yea Jul 14 14:05:07 it never hurts just to ask your question Jul 14 14:05:16 see, dpait is hardly working as well :) Jul 14 14:06:24 but as SimpsonTP says, most people read the logs and communicate that way :) Jul 14 14:08:03 That rarely happens either. :P Jul 14 14:11:11 pjetr: working on anything interesting? Jul 14 14:12:37 Actually I am, but we'e not using enyo at it's fullest, or as it was intended:) Jul 14 14:12:52 :) Jul 14 14:13:07 oh really? Are you guys rendering enyo widgets into an existing page, then? Jul 14 14:13:28 but at work we're creating an educational interactive platform, to use in schools on smartboards + PC + tablet Jul 14 14:13:41 nice Jul 14 14:14:08 I don't like to use JS for markup, so all layout is done using CSS Jul 14 14:14:26 ergo no spinners, repeaters, … Jul 14 14:14:50 so most of the components people use we tossed :D Jul 14 14:15:20 I see Jul 14 14:16:00 I don't mind using JS for markup, but I always use stylesheets for styles whenever possible. I dislike using JS for styles unless I have to. Jul 14 14:16:00 almost everything is a custom component, using bootstrap as a startingpoint Jul 14 14:16:07 * SimpsonTP uses Enyo in static application Jul 14 14:17:09 SimpsonTP: What do you mean? Jul 14 14:19:47 not on the web, just display information on a none interactive screen Jul 14 14:20:07 although we are working on tablet applications Jul 14 14:20:35 I see Jul 14 14:23:22 and you ? Jul 14 14:24:16 I used it at my old job Jul 14 14:24:44 At my current place, they use a home-rolled widget system using bootsrap and mustache.js Jul 14 14:25:01 I'm going to see what they think of enyo here Jul 14 14:25:04 k Jul 14 14:39:26 what kind of data do you display then? @SimpsonTP? Jul 14 14:41:07 is it like buildprocess information? Jul 14 14:41:39 I've heard of companies projecting server-process informatio,n Jul 14 14:42:04 testsuite results, latest commits, … Jul 14 14:50:00 nope, we use it to show incident information in fire stations Jul 14 14:54:54 sooo, something entirely different… XD Jul 14 14:57:37 yup Jul 14 14:57:47 and the tablet app will be used in a fire truck Jul 14 15:01:24 neat Jul 14 15:06:14 man I'm missing my enyo functions <.< Jul 14 15:11:39 they made things so much easier... Jul 14 15:17:20 Jul 14 15:17:24 * pjetr waves Jul 14 15:17:33 cya pjetr Jul 14 15:18:05 enyoj the rest of your day! Jul 14 15:18:09 * pjetr out Jul 14 16:12:36 grrr bouncer :) removing me from my fav rook Jul 14 16:12:38 *room Jul 14 16:19:29 lol Jul 14 16:19:56 This would be my favorite room if it was as active as #archlinux is :P Jul 14 16:20:34 I learn so much in there whether I participate in discussion or not Jul 14 17:15:45 Daily reminder of how awesome Enyo is ;-) Jul 14 17:15:55 *chirp* Jul 14 17:15:58 *crickets* Jul 14 17:20:45 lol Jul 14 17:21:58 :) Jul 14 17:54:20 back Jul 14 18:00:21 so, dmanderson... doing anything neat using enyo lately? Jul 14 18:01:04 :) Jul 14 18:07:36 * GodGinrai plays the jeopardy theme Jul 14 18:07:41 Nothing specific :) Jul 14 18:07:54 Lack of free time lately :) Jul 14 18:08:01 I see Jul 14 18:08:11 Next month I’ll be moved from across the US :) So I’ll be more on par then. :D Jul 14 18:08:20 ah Jul 14 18:08:23 This month, I’ve been moving to Enyo HQ Jul 14 18:08:32 nice Jul 14 18:08:44 yeah! Jul 14 18:08:57 I need to finish up tuts on CodeAcademy Jul 14 18:09:00 so you used to be on the East coast? Jul 14 18:09:06 then I’ve got something on the backburner with the Wii U I’ve been interested in. Jul 14 18:09:20 I used to be Central, Minneapolis Minnesota Jul 14 18:09:26 worked on East Coast time Jul 14 18:09:31 repping Minneapolis! Jul 14 18:09:32 and now I’m all the way on the west coast Jul 14 18:09:36 ah, ok Jul 14 18:09:38 LOL! Love MSP! Jul 14 18:09:43 lol Jul 14 18:10:01 How about GodGinrai :) Anything new? Jul 14 18:10:11 The Wii U has good HTML5 support, but the browser is missing some key features :( Jul 14 18:10:49 I started a new job last week, that's about it Jul 14 18:17:34 dmanderson, where will you be based ? Jul 14 18:17:55 I am going to be in San Jose, CA Jul 14 18:18:02 Enyo/LGSVL is in Santa Clara CA Jul 14 18:18:12 so I’m about 15 miles from there. Jul 14 18:18:34 yeah the wii u browser isn’t bad, I wish I could get accepted to the DEV program, so I can mess with the SDK some more Jul 14 18:18:48 :) Jul 14 18:31:54 SVL? Jul 14 18:33:33 Silicon Valley Lab Jul 14 18:33:52 LG’s R&D Building Jul 14 18:34:21 ah Jul 14 18:34:49 How is the new Job ?! Jul 14 18:35:10 it's not bad. It's definitely better than my previous job so far :P Jul 14 18:35:23 :) what was the change? Other than a new company? Jul 14 18:35:26 New duties? Jul 14 18:35:54 Different duties, I'd say Jul 14 18:36:22 :) Jul 14 18:36:25 I was support at my previous job, and my only dev responsibilities were making dashboards and suhc for support Jul 14 18:36:40 My new one is a job as a Developer Jul 14 18:36:51 it is looking like it will mostly be JS Jul 14 18:40:02 AH nice! Jul 14 18:40:05 congrats! Jul 14 18:40:07 I'm hoping I can convince them to try out Enyo :) Jul 14 18:40:08 ty Jul 14 18:40:11 Full time Deving Woot :) Jul 14 18:40:18 Well if you need any help convicing let me know :) Jul 14 18:40:32 lol yea Jul 14 18:40:45 Enyo Enyo Everywhere :) Jul 14 18:41:30 heh Jul 14 18:46:40 dmanderson, whats your role at the enyo team ? Jul 14 18:46:43 Right now we are using a sort-of home-grown widget system Jul 14 18:47:20 I am a framework engineer Jul 14 18:47:26 a new team member :) Jul 14 18:47:27 okay Jul 14 18:47:36 Home Grown Widget System :( Jul 14 18:47:56 I’ve only been with the team for about a month now, vs being on the outside before ;-) Jul 14 18:48:08 So if you guys are squeeky, someone is directly hearing it now ;-) Jul 14 18:48:25 I'm hoping to try to use Enyo for a widget or two to show how it would make things easier Jul 14 18:48:56 That’s a great place to start! Jul 14 18:53:51 just make sure you solve problems they have, and you don't bring in a solution looking for a problem Jul 14 18:54:41 SimpsonTP: Of course. Jul 14 18:55:52 That's also one of the reasons I want to implement it in some widgets. If I can show it to be useful, then we can start to use it going forward, while still supporting the old framework when necessary Jul 14 19:40:45 re Jul 14 19:44:53 re? Jul 14 19:52:43 has anyone tried running enyo in node.js Jul 14 19:52:43 ? Jul 14 19:54:58 GodGinrai, means 'returned' Jul 14 19:57:53 crankin, what you want to use it for ? Jul 14 19:57:56 ah Jul 14 19:58:11 crankin: Yes, someone has successfully done this, IIRC Jul 14 19:58:16 what are you trying to do? Jul 14 19:58:48 Also, here you go: http://forums.enyojs.com/discussion/1093/enyo-2-in-node-js Jul 14 19:59:11 Yes I've seen that code. It works but not completely. Jul 14 19:59:43 So I use enyo on the front end. But on my application(node) server I want to re-use the enyo models to reduce code duplication. Jul 14 20:00:20 that makes sense Jul 14 20:00:26 Using the example in the link you posted. I can access enyo.Model just fine. Jul 14 20:00:33 by exporting enyo Jul 14 20:00:36 what kind of errors are you getting? Jul 14 20:00:47 but if I try to access a model "User" for example. It can't be found. Jul 14 20:01:15 you named the model "User" ? Jul 14 20:01:49 yeah that's just an example Jul 14 20:02:14 1 if (typeof enyo === 'undefined') { Jul 14 20:02:14 2 enyo = require('../../server/lib/enyo').enyo; Jul 14 20:02:14 3 } Jul 14 20:02:14 4 Jul 14 20:02:14 5 enyo.kind({ Jul 14 20:02:14 6 name: "User", Jul 14 20:02:14 7 kind: "Model", Jul 14 20:02:15 8 defaults: { Jul 14 20:02:15 9 fullName: "", Jul 14 20:02:16 10 firstName: "", Jul 14 20:02:16 11 lastName: "", Jul 14 20:02:17 12 email: "", Jul 14 20:02:17 13 groups: [] Jul 14 20:02:18 14 } Jul 14 20:03:00 that'a file called lib/models/User.js Jul 14 20:03:16 so if I just require(User.js) for example "User" is undefined Jul 14 20:03:38 if I export User by: exports.User = User or exports.User = enyo.global.User, etc, etc. Jul 14 20:03:41 All undefined Jul 14 20:04:10 but I can call enyo.Model just fine. Jul 14 20:04:26 if I export enyo into the file I'm working in. Jul 14 20:04:49 oops Jul 14 20:04:52 you don't get any other errors? Jul 14 20:04:55 that should read kind: "enyo.Model" Jul 14 20:05:29 well, depends. one sec I'll produce some and explain the content Jul 14 20:05:36 k Jul 14 20:07:02 First let me list the files I'm working with. We will start with my model. My directory structure is as such: I have a parent folder called "source" inside source I have "client" and "server" folders. "server" is an express-nodejs app. "client" is an enyo app. make sense so far? Jul 14 20:07:17 source/client & source/server Jul 14 20:07:24 yes Jul 14 20:07:37 enyo source lives inside client, so source/client/enyo Jul 14 20:07:49 I also have a lib folder in the root dir, so source/lib Jul 14 20:07:53 that's where my models live Jul 14 20:07:59 source/lib/models/User.js Jul 14 20:08:06 this is what User.js looks like. Jul 14 20:08:13 1 if (typeof enyo === 'undefined') { Jul 14 20:08:13 2 enyo = require('../../server/lib/enyo').enyo; Jul 14 20:08:13 3 } Jul 14 20:08:13 4 Jul 14 20:08:13 5 enyo.kind({ Jul 14 20:08:13 6 name: "User", Jul 14 20:08:14 7 kind: "enyo.Model", Jul 14 20:08:14 8 defaults: { Jul 14 20:08:15 9 fullName: "", Jul 14 20:08:15 10 firstName: "", Jul 14 20:08:16 11 lastName: "", Jul 14 20:08:16 12 email: "", Jul 14 20:08:17 13 groups: [] Jul 14 20:08:17 14 } Jul 14 20:09:03 so if enyo is undefined it loads enyo from an exported variable in a node-js file I created based on that link you posted. Jul 14 20:09:08 do you use anything else in $lib? Jul 14 20:09:27 so far no. Jul 14 20:09:36 source/lib ? Jul 14 20:09:39 no just models for now Jul 14 20:09:42 ok Jul 14 20:09:51 and your package.js for the server app mentions $lib? Jul 14 20:09:59 yes Jul 14 20:10:13 so that's source/server/lib/ Jul 14 20:10:26 that has enyo.js but this file is not what you think. I'll explain in a second. Jul 14 20:10:35 I thought you said it was /source/lib ? Jul 14 20:10:44 it also has a helpers.js file for just helper methods that I use in other parts of the app, not really important Jul 14 20:11:03 oh! I should mention this as well. In source/lib/models/ Jul 14 20:11:07 there is a package.js file Jul 14 20:11:13 it's contents are as such. Jul 14 20:11:41 1 enyo.depends( Jul 14 20:11:42 2 "User.js" Jul 14 20:11:42 3 ); Jul 14 20:11:56 so back to source/server/lib/enyo.js Jul 14 20:12:05 this file is basically the same as the link you sent me. Jul 14 20:12:30 it uses the "vm" module to create an execution content and mocks the browser environment. Jul 14 20:12:43 What does the package.js for your server look like? Jul 14 20:13:43 there is no package.js Jul 14 20:13:49 it's a node app. there's a package.json Jul 14 20:14:29 source/server/lib/enyo.js looks like this: Jul 14 20:14:31 #! /usr/local/bin/node Jul 14 20:14:31 Jul 14 20:14:31 var vm = require("vm"), Jul 14 20:14:31 fs = require("fs"), Jul 14 20:14:31 localStorage = require("localStorage"), Jul 14 20:14:50 but you need a package.js to require your models Jul 14 20:15:10 you need a package.js to require your models Jul 14 20:15:41 yes I know you've seen that already, that file is source/lib/models/package.js Jul 14 20:15:56 it looks like this. Jul 14 20:15:57 enyo.depends( Jul 14 20:15:57 "User.js" Jul 14 20:15:57 ); Jul 14 20:16:09 alright, can you pastebin this package.json? Jul 14 20:16:30 sure Jul 14 20:17:30 http://pastebin.com/cj1Ts1ZR Jul 14 20:17:51 hrm Jul 14 20:18:04 can you pastebin that enyo.js file? Jul 14 20:18:45 yeah http://pastebin.com/7960FGn2 Jul 14 20:19:16 //enyoDir + "/../../lib/models" Jul 14 20:19:28 it's commented out Jul 14 20:20:45 yeah, i've tried running it both ways, doesn't seemt to matter Jul 14 20:20:55 i'll uncomment and run to see if output is any diffeernt Jul 14 20:20:59 k Jul 14 20:22:13 http://pastebin.com/37dbg2mA Jul 14 20:23:04 well Jul 14 20:23:07 that's progress Jul 14 20:23:21 you are now correctly sourcing the file Jul 14 20:23:44 pastebin User.js? Jul 14 20:24:19 ok let me show you the file i'm using it in. Jul 14 20:24:21 one sec Jul 14 20:25:13 http://pastebin.com/P9BkJyDH Jul 14 20:25:43 scroll back, \o/ yay Jul 14 20:25:53 hey crankin!! Jul 14 20:26:00 yo? Jul 14 20:26:39 scroolback to what? Jul 14 20:26:56 He's just excited that the chat has more than 5 messages in it Jul 14 20:27:19 crankin: Can you pastebin your User.js? Jul 14 20:27:31 ;-) yeah just excited to see stuff posted in here to chat about. Jul 14 20:27:33 oh yeah Jul 14 20:28:01 dmanderson: It would happen more often if the enyo team would get in here :P Jul 14 20:28:16 source/lib/models/User.js : http://pastebin.com/hyDguKYM Jul 14 20:28:51 ok Jul 14 20:28:54 well, it seems to me Jul 14 20:29:05 that User.js is getting sourced Jul 14 20:29:05 LOL I’m right here GodGinrai :) Jul 14 20:29:15 before this exports variable is instantiated Jul 14 20:29:18 Don’t worry, I’m going to start making people feel guilty for not being in here ;-) Jul 14 20:29:36 dmanderson: Yea, and you're talking, but before you, we had crickets Jul 14 20:29:57 haha, I know :) Now sure where @Roy went, he isn’t idling in here anymore, sitting next to me this week :) Jul 14 20:30:01 Guilt trip time! Jul 14 20:30:05 dmanderson, GodGinrai has a point indeed and you have set the tone now ;) Jul 14 20:30:10 lol yea Jul 14 20:31:21 crankin: Where is "exports" defined? Jul 14 20:32:15 that's a great question. Jul 14 20:32:50 one sec Jul 14 20:33:32 GodGinrai exports as in teh nodejs holder? Jul 14 20:33:41 dmanderson: maybe? Jul 14 20:33:47 Well it should be defined since I'm running Jul 14 20:33:47 var User = require('../../lib/models/User.js').User; Jul 14 20:33:53 Yeah, it should just be nodejs module exports Jul 14 20:34:00 require makes exports availbe in node we thouth? Jul 14 20:34:03 thought Jul 14 20:34:11 yes Jul 14 20:34:11 He's using an exports variable, and it isn't defined by the end of the User.js file he is sourcing Jul 14 20:34:16 it was workign before not sure why it's not now Jul 14 20:34:53 exports should be pointed to module.exports unless it’s been redefined Jul 14 20:35:36 dmanderson: Look at these two pastebins: http://pastebin.com/37dbg2mA http://pastebin.com/hyDguKYM Jul 14 20:37:59 Hey, I gotta head out. I'll reconnect when I'm back home. (~30-45 minutes?) If you are still on, crankin, I can continue to work with you then Jul 14 20:38:17 What module pattern is being used crankin? Jul 14 20:38:25 requireJS? Jul 14 20:38:27 Yea I'll still be here Jul 14 20:38:28 CommonJS? Jul 14 20:38:33 k Jul 14 20:38:36 bbl Jul 14 20:38:38 commonjs Jul 14 20:39:06 Whatever the node default is. Which I think is commonjs Jul 14 20:39:41 appears that way to me Jul 14 20:41:50 Not sure if you've seen my earlier pastebin of the file that's loading User.js Jul 14 20:41:51 http://pastebin.com/1MHW7s1x Jul 14 20:42:08 it's what's creating the context enyo is running in. Jul 14 20:44:53 Aha!! New error actually saw this before but didn't know what was causing it. http://pastebin.com/XHuFUfMA Jul 14 20:45:39 this happens after I changed my User.js file to check if exports is defined Jul 14 20:45:39 http://pastebin.com/2x5PCzLw Jul 14 21:00:41 Ok another update. Now the error I'm getting is: enyo.kind: User is already in use by another kind, all kind definitions must have unique names. Jul 14 21:01:17 what I changed is the following. "enyo/source/dom" wasn't being loaded hence the enyo.platform.androidFirefox issue Jul 14 21:01:42 after I started loading that in my source/server/lib/enyo.js then i got to this point. Jul 14 21:02:28 are you depending on User.js in lib/enyo.js? Jul 14 21:03:23 not sure what you mean Jul 14 21:04:05 if you mean am I requiring it? no. Jul 14 21:04:09 Oh! Jul 14 21:04:20 well yes. I'm enyo.depends the entire models folder Jul 14 21:04:26 that the problem? Jul 14 21:07:00 Ok so yeah, taking "models" out of the dependencies in my lib/enyo.js file no errros. But enyo.globals is still blank and User is undefiend Jul 14 21:16:20 So, did I miss anything? Jul 14 21:17:20 crankin, did you figure out your problem? Jul 14 21:19:30 yes and no Jul 14 21:19:38 o_ô Jul 14 21:19:57 well, we got it to work, but only if we define the User module as name: "enyo.User" Jul 14 21:20:19 using the global namespace (name: "User") or any other namespace (name: "foo.User") don't work Jul 14 21:20:31 here's the code: http://pastebin.com/gcBZjJET Jul 14 21:20:55 what was causing the exports error? Jul 14 21:21:29 that was from using enyo.depends to load the file Jul 14 21:21:39 instead of require Jul 14 21:22:07 it was accidentally being loaded twice Jul 14 21:22:08 ah Jul 14 21:22:09 had to remove the lib/models from enyo.depends in my enyo.js file Jul 14 21:23:29 so you are saying that the global namespace isn't working? Is it throwing any errors? Jul 14 21:23:43 no errors it's just blank in User.js Jul 14 21:24:07 rather, what happens is we'll define our user module with name: "User" Jul 14 21:24:27 but then trying to, say, exports.User = User; throws "User is not defined" Jul 14 21:26:19 wouldn't this fix that problem? http://pastebin.com/gcBZjJET Jul 14 21:27:03 it does, but that requires us to define things on the enyo object, which we're trying to avoid Jul 14 21:28:08 yeah that's exactly what we're doing but defining my models on the enyo object just feels wrong to me. Jul 14 21:28:16 I'm going to quickly pollute that namespace Jul 14 21:28:39 I guess there's no reason why I can't like I said. Just seems wrong Jul 14 21:28:51 the name can’t be global.User ? Jul 14 21:29:44 that is a very good question Jul 14 21:29:54 oh let's try Jul 14 21:31:47 no it can't :( Jul 14 21:31:56 enyo.global get's set back to {} Jul 14 21:32:02 and User is then undefined Jul 14 21:32:11 name: "enyo.global.User", Jul 14 21:32:11 kind: "enyo.Model", Jul 14 21:32:16 console.log(enyo.global); Jul 14 21:32:16 exports.User = enyo.global.User; Jul 14 21:32:21 no go Jul 14 21:32:33 I think he meant just name: "global.User" Jul 14 21:32:44 and then try to grab it with just User Jul 14 21:33:11 in node, global is the equivalent of window in the browser Jul 14 21:33:50 ok Jul 14 21:33:52 one sec Jul 14 21:34:50 ReferenceError: User is not defined Jul 14 21:34:59 try enyo.global.User Jul 14 21:36:14 TypeError: undefined is not a function Jul 14 21:36:21 only enyo.User seems to work Jul 14 21:37:31 :( Jul 14 21:38:51 what version of Enyo are you using? Jul 14 21:41:20 should be the latest. 2.4? Jul 14 21:41:55 try the latest nightly Jul 14 21:42:16 2.5.0 Jul 14 21:44:45 hrmmm Jul 14 21:45:25 i'll have to experiment with that one later. Jul 14 21:45:56 brb Jul 14 22:18:06 back Jul 14 22:27:53 hey dmanderson, you there? Jul 14 22:28:51 hey I am :) Jul 14 22:29:12 I'm looking through the source for enyo.setPath in the latest code Jul 14 22:29:21 and I don't see where next is getting set to the first part Jul 14 22:30:23 line 458 in lang.js? Jul 14 22:31:02 that's where it sets it to the enyo object as default Jul 14 22:31:19 but not where it sets it to the first part Jul 14 22:37:16 Hmm i’m not following we are talking abotu this line right? var next = (this === enyo? enyo.global: this) Jul 14 22:37:20 hahah Jul 14 22:37:21 nvm Jul 14 22:37:28 k :) Jul 14 22:37:38 tierney === confusion Jul 14 22:37:44 I can’t even spell it ;-) Jul 14 22:37:46 crankin: I figured out why your namespace doesn't work :D Jul 14 22:38:41 :D Jul 14 22:38:44 Nice GodGinrai! Jul 14 22:39:01 dmanderson, you use the weirdest apostrophes... It shows up in mIRC as an accented a, Euro symbol, and trademark symbol Jul 14 22:39:24 Hmm Blame Colloquy, or this Mac I’m using Jul 14 22:39:29 (Linux guy by default) Jul 14 22:39:50 ah man, you're stuck using a mac? I feel for ya Jul 14 22:41:26 Yeah, I haven’t tried putting Ubuntu on one for while, last I heard the hardware drivers were only so/so Jul 14 22:41:32 If it was up to me OpenVPN would be supported Jul 14 22:41:36 and I could use my Chromebook Jul 14 22:42:46 ew, ubuntu XD Jul 14 22:43:50 LOL! Jul 14 22:44:09 What distro is good then? :) Jul 14 22:44:39 well, that depends on what kind of user you are Jul 14 22:44:50 Arch, debian, fedora, SUSE Jul 14 22:48:12 well, I thought I figured out why the namespace thing didn't work for them. Now I'm not 100% sure Jul 14 22:48:30 I can't seem to find the area of the code where it makes the namespace Jul 14 22:54:09 as far as I can tell Jul 14 22:55:35 GodGinrai, honestly, I'm of the opinion that the problem stems from how we have to load Enyo Jul 14 22:55:55 enyo.setPath called from enyo.kind() will always make your object in enyo.global, no matter if your namespace doesn't include "enyo" Jul 14 22:55:55 since we can't load it directly in a node environment, we have to 'fake' a browser environment using node-vm Jul 14 22:56:18 for example, if you look in enyo.global of one of your GUI apps, you will notice an "onyx" object sitting in there Jul 14 22:56:45 I just can't find where the onyx object in window gets set Jul 14 22:58:57 can someone link me to the pastebins that crankin linked earlier? Jul 14 22:59:06 (the enyo.js one in particular) Jul 14 23:00:11 this looks like the last one he posted: http://pastebin.com/1MHW7s1x Jul 14 23:00:38 the only thing I think he's changed is line 102 Jul 14 23:00:43 _dirname + "/../../lib/models" Jul 14 23:00:49 pretty sure he removed it Jul 14 23:01:19 chall, I don't need to see the updated code, just the code in general. He linked me when I was at work, so I do not have the link at home Jul 14 23:01:27 ah Jul 14 23:01:32 kk Jul 14 23:04:13 ok Jul 14 23:04:18 what is "context"? Jul 14 23:04:58 context should be the `window` object Jul 14 23:05:16 ok Jul 14 23:07:42 ok, here's a weird question Jul 14 23:08:22 if you add something to the context object... is it referrable by a regular name? Like, once you add window to context, can you just say "window" in your code? Jul 14 23:08:38 as far as I know, yes Jul 14 23:08:53 though, I think some of those things are added automatically by vm.createContext Jul 15 01:56:06 wb you ywo Jul 15 01:56:08 *two **** ENDING LOGGING AT Tue Jul 15 02:59:59 2014