fluid-work IRC Logs-2013-02-13
[08:39:56 CST(-0600)] <Justin_o> colinclark: is there a way to access a global property just by name?
[08:40:11 CST(-0600)] <colinclark> Can you elaborate?
[08:40:15 CST(-0600)] <Justin_o> e.g. "fluid.something"
[08:40:48 CST(-0600)] <Justin_o> so for fluid.get i would have to do fluid.get(fluid, "something");
[08:41:24 CST(-0600)] <Justin_o> but i'm wondering if I know that fluid is global and don't want to have to pass that in as the first argument
[08:41:43 CST(-0600)] <colinclark> This sounds like a somewhat odd thing to do
[08:41:45 CST(-0600)] <Justin_o> and want to pass in the full path "fluid.something" instead
[08:41:50 CST(-0600)] <colinclark> What are you trying to achieve?
[08:41:53 CST(-0600)] <Justin_o> i thought you might say that
[08:42:22 CST(-0600)] <Justin_o> i'm just trying to refactor some tests and have to check to objects fluid.staticEnvironemt[key] and fluid.enhance.checked[key]
[08:42:40 CST(-0600)] <Justin_o> but i also want to output the names of each so when the test is run you know where it was checking
[08:43:01 CST(-0600)] <Justin_o> and i'd rather have the full path printed out to make it perfectly clear
[08:43:08 CST(-0600)] <colinclark> Ok, so what specifically is "key?"
[08:44:02 CST(-0600)] <Justin_o> key could be anything but probably something corresponding to the type tag name "fluid-browser-html5" with its value being the type tag
[08:44:12 CST(-0600)] <Justin_o> something like that
[08:44:23 CST(-0600)] <colinclark> And what "full path" do you want to print out?
[08:44:32 CST(-0600)] <Justin_o> and in checked it would have a boolean value
[08:44:53 CST(-0600)] <colinclark> Does fluid.getGlobalValue() not do what you want, by the way?
[08:45:05 CST(-0600)] <Justin_o> the paths would be "fluid.staticEnvironment" and "fluid.enhance.checked"
[08:45:34 CST(-0600)] <Justin_o> colinclark: sorry i miss read the comment.. i thought it was deprecated
[08:45:45 CST(-0600)] <Justin_o> but now i see it is ben value ones
[08:45:46 CST(-0600)] <Justin_o> thanks
[11:03:22 CST(-0600)] <kasper> slacker1, 2 and 3 - architecture meeting
[11:03:45 CST(-0600)] <kasper> ( yzen, colinclark, michelled, Bosmon)
[11:04:00 CST(-0600)] <avtar> name calling in a public channel, tsk tsk
[11:04:06 CST(-0600)] <colinclark> It makes me go slower
[11:04:09 CST(-0600)] <colinclark> type slower
[11:04:13 CST(-0600)] <colinclark> log into gotomeeting slower
[11:04:13 CST(-0600)] <kasper> hehe, yeah - that wasn't nice of me
[11:04:25 CST(-0600)] <colinclark> give my weekly architecture update sl-oooo-oooooo-ooooo-wer
[11:04:45 CST(-0600)] <kasper> but I'll pull the whiny "it's late here and I want to go home" card
[11:05:06 CST(-0600)] <colinclark> You mean it isn't Eastern Time Zone everywhere?
[11:05:09 CST(-0600)] <colinclark> O
[11:05:16 CST(-0600)] <kasper> (except that I'm already home, and I'm probably gonna continue working after this meeting anyway)
[11:05:25 CST(-0600)] <colinclark> lol