00:06:34  <TabAtkins>I mean, a lot of languages can get access to those. I can always do `globals()["Foo"]` in Python, for example.
00:07:12  <TabAtkins>It just feels like, since I can get all the exported things bound up in a convenient object from *outside* the module, it's weird that I can't do so from *inside* the module without additional work.
00:07:32  <devsnek>you can import a module from itself
00:07:54  <devsnek>`import * as self from '.';`
00:08:10  <ljharb>(assuming `.` means the current module, which depends on loaders)
00:08:16  <devsnek>true true
00:08:44  <devsnek>that should work in browsers, and i know it works in node
00:09:08  <devsnek>it probably confuses the heck out of babel though
00:09:10  <ljharb>`.` means "the current directory" in file paths
00:09:17  <ljharb>so i wouldn't expect it to mean "the current file"
00:09:26  <ljharb>node's implementation is far from stable, tho ¯\_(ツ)_/¯
00:09:37  <devsnek>oh i meant ./{whaeverfilename}
00:09:47  <TabAtkins>...oh, huh. Interesting.
00:10:18  <ljharb>TabAtkins: yeah def if all the things you want are exported, grabbing a namespace object for the current file is a good approach
00:10:42  <devsnek>i learned about this after i found the v8 tests for what happens when js code has access to an uninitialized module namespace object
00:16:59  <TabAtkins>Yay, it all worked! And this means I can simplify *another* thing, cool.
00:18:08  <devsnek>👌
00:24:00  * keith_millerjoined
01:18:09  * aki_joined
01:19:31  * akirosequit (Ping timeout: 268 seconds)
01:19:32  * aki_changed nick to akirose
02:06:51  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:24:13  * akirosequit (Ping timeout: 245 seconds)
03:25:51  * akirosejoined
03:51:02  * jwaldenquit (Quit: brb)
04:00:26  * jwaldenjoined
05:32:01  * aki_joined
05:32:58  * akirosequit (Ping timeout: 268 seconds)
05:32:59  * aki_changed nick to akirose
06:08:43  * jmdyckquit (Remote host closed the connection)
06:14:06  * jwaldenquit (Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805])
07:38:07  * akirosequit (Ping timeout: 240 seconds)
07:38:14  * aki_joined
07:38:38  * aki_changed nick to akirose
08:49:32  * srl295quit (Quit: Connection closed for inactivity)
09:45:42  * aki_joined
09:45:47  * akirosequit (Ping timeout: 240 seconds)
09:45:48  * aki_changed nick to akirose
11:50:38  * aki_joined
11:51:33  * akirosequit (Ping timeout: 252 seconds)
11:51:34  * aki_changed nick to akirose
13:49:57  * jmdyckjoined
13:57:19  * aki_joined
13:58:22  * akirosequit (Ping timeout: 246 seconds)
13:58:22  * aki_changed nick to akirose
16:03:35  * aki_joined
16:04:13  * akirosequit (Ping timeout: 245 seconds)
16:04:13  * aki_changed nick to akirose
16:11:58  * keith_millerjoined
16:13:20  * keith_millerquit (Remote host closed the connection)
16:14:00  * keith_millerjoined
18:09:40  * akirosequit (Ping timeout: 246 seconds)
18:11:17  * akirosejoined
18:20:03  * AtumTjoined
18:31:43  * AtumTquit (Quit: AtumT)
19:50:11  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
19:54:45  * keith_mi_quit (Ping timeout: 252 seconds)
20:16:29  * aki_joined
20:17:42  * akirosequit (Ping timeout: 252 seconds)
20:17:42  * aki_changed nick to akirose
20:36:27  * jmdyck1joined
20:36:59  * jmdyckquit (Ping timeout: 244 seconds)
20:43:08  * keith_millerjoined
21:08:51  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:50:15  * keith_millerjoined
22:23:25  * akirosequit (Ping timeout: 244 seconds)
22:25:44  * akirosejoined
22:27:15  * gibson042joined
22:54:33  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)