--- Log opened Sat Mar 10 00:00:39 2018 |
00:55 | | celticminstrel [celticminst@Nightstar-gil1m1.dsl.bell.ca] has joined #code |
00:55 | | mode/#code [+o celticminstrel] by ChanServ |
01:28 | | Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
01:35 | | Jessikat` [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
01:35 | | Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed] |
01:44 | | Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
01:44 | | Jessikat` [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed] |
01:48 | | Jessikat` [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
01:48 | | Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed] |
01:50 | <&McMartin> | https://twitter.com/nnethercote/status/966070764754550784 |
02:28 | | Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Connection closed] |
02:28 | | Kindamoody|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code |
02:28 | | mode/#code [+o Kindamoody|autojoin] by ChanServ |
02:46 | | Jessikat` [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Bye] |
02:46 | | Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
03:27 | | Derakon_ [Derakon@Nightstar-fr5qel.ca.comcast.net] has joined #code |
03:28 | | Vornotron [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
03:28 | | celmin [celticminst@Nightstar-gil1m1.dsl.bell.ca] has joined #code |
03:28 | | Netsplit Deepthought.Nightstar.Net <-> Krikkit.Nightstar.Net quits: @PinkFreud |
03:28 | | celmin is now known as celticminstrel |
03:28 | | Netsplit Golgafrincham.Nightstar.Net <-> Deepthought.Nightstar.Net quits: Kizor, @Alek, @Vornicus, @Syloq, @gnolam, @Derakon |
03:29 | | mode/#code [+o celticminstrel] by ChanServ |
03:29 | | Netsplit over, joins: @PinkFreud |
03:32 | | Kizor [moryok@Nightstar-e0a4sm.utu.fi] has joined #code |
03:32 | | Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code |
03:32 | | mode/#code [+o Alek] by ChanServ |
03:33 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
03:33 | | mode/#code [+o Syloq] by ChanServ |
03:34 | | gnolam [lenin@Nightstar-ego6cb.cust.bahnhof.se] has joined #code |
03:34 | | mode/#code [+o gnolam] by ChanServ |
03:39 | | Derakon_ is now known as Derakon |
03:39 | | mode/#code [+ao Derakon Derakon] by ChanServ |
04:16 | | Jessikat` [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
04:16 | | Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed] |
04:33 | | Vornlicious [Vorn@Nightstar-20giun.sub-174-211-8.myvzw.com] has joined #code |
04:35 | | Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
04:47 | | Vornlicious [Vorn@Nightstar-20giun.sub-174-211-8.myvzw.com] has quit [[NS] Quit: Bye] |
04:47 | | Vorntastic [Vorn@Nightstar-60o.3mj.149.47.IP] has joined #code |
04:51 | | Vornlicious [Vorn@Nightstar-20giun.sub-174-211-8.myvzw.com] has joined #code |
04:51 | | Vornlicious [Vorn@Nightstar-20giun.sub-174-211-8.myvzw.com] has quit [[NS] Quit: Bye] |
04:51 | | Vorntastic [Vorn@Nightstar-60o.3mj.149.47.IP] has quit [Connection closed] |
04:52 | | Vorntastic [Vorn@Nightstar-60o.3mj.149.47.IP] has joined #code |
04:52 | | Vornlicious [Vorn@Nightstar-20giun.sub-174-211-8.myvzw.com] has joined #code |
04:56 | | Vorntastic [Vorn@Nightstar-60o.3mj.149.47.IP] has quit [Ping timeout: 121 seconds] |
05:07 | | Vornlicious [Vorn@Nightstar-20giun.sub-174-211-8.myvzw.com] has quit [[NS] Quit: Bye] |
05:08 | | Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
05:24 | | Derakon is now known as Derakon[AFK] |
05:37 | | celticminstrel is now known as celmin|sleep |
06:21 | <&McMartin> | How do I test a webpage with JS in it locally? |
06:25 | < Vornotron> | Just open it in firefox or something |
06:25 | < Vornotron> | Problems come when there are things you load dynamically. |
06:26 | <&McMartin> | ... what does "load dynamically" mean here |
06:26 | <&McMartin> | If I put a <script>...</script> in the <head> and then an onload() for the body, that seems to not do anything? |
06:26 | < Vornotron> | Like, for instance - you can't add an <img src="file:..."> via javascript |
06:26 | < Vornotron> | Show me |
06:27 | <&McMartin> | https://pastebin.com/UvByDMf5 |
06:30 | < Vornotron> | Aha. "innerHTML" |
06:31 | <&McMartin> | Aha, thanks |
06:33 | < Vornotron> | (but yeah. browsers in general refuse to allow URIs with the file protocol to be used after the page has finished) |
06:40 | <&McMartin> | Yeah, the suggestions from everyone else was "just run a webserver serving localhost" |
06:41 | <&McMartin> | Not really what I wanted to semantics-check four lines of JS |
06:41 | <&McMartin> | One of which was } |
06:45 | | Vornlicious [Vorn@Nightstar-nn79jq.sub-174-211-5.myvzw.com] has joined #code |
06:48 | | Vornotron [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
06:49 | | Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
07:24 | <&McMartin> | Here we go. Aiming for a slightly more basic level this time. https://bumbershootsoft.wordpress.com/2018/03/10/variations-on-the-68000-abi/ |
07:26 | | Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
07:26 | | Jessikat` [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed] |
07:32 | | Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Bye] |
08:12 | | Vorntastic [Vorn@Nightstar-dfjm3v.sub-174-210-8.myvzw.com] has joined #code |
08:14 | | Vornlicious [Vorn@Nightstar-nn79jq.sub-174-211-5.myvzw.com] has quit [Ping timeout: 121 seconds] |
10:13 | | Kindamoody|autojoin is now known as Kindamoody |
11:29 | <&ToxicFrog> | McMartin: for future reference, if you loaded that in (at least) Chrome or Firefox and then opened the debugger, I'd expect to see an informative error message in the console |
11:30 | <&ToxicFrog> | And for testing small snippets like that you can also just paste them into the console and run them directly |
11:43 | < Vorntastic> | Actually |
11:44 | < Vorntastic> | It was silent, because DOM nodes are objects |
11:44 | < Vorntastic> | And so it set innerHtml but that's pretty meaningless because it's not quite the right name |
11:50 | <&ToxicFrog> | Oh right, it was an attribute set, not a method call |
11:53 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
13:32 | <&[R]> | McMartin: If you ever need to test JS locally again, then you can just save (Ctrl+S) the page, FF/Chrome will download all the deps. The only major limitation is the lack of the ability to make any of the "ajax" requests. |
13:33 | <&[R]> | F12 will open the debugger/console which will help you greatly. All the errors will appear in the console, so long as the console was open when they occured. |
13:40 | < Vorntastic> | Even those that happened with console closed will appear |
13:41 | < Vorntastic> | You need to open the console before a refresh if you want to see network data though |
14:07 | <&[R]> | Ah right |
14:55 | | celmin|sleep is now known as celticminstrel |
15:05 | | Vorntastic [Vorn@Nightstar-dfjm3v.sub-174-210-8.myvzw.com] has quit [[NS] Quit: Bye] |
15:05 | | Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
15:08 | | Vornotron [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
15:08 | | mode/#code [+qo Vornotron Vornotron] by ChanServ |
16:17 | | Kindamoody is now known as Kindamoody|afk |
19:19 | | Vornotron [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
19:56 | | Vornotron [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
19:56 | | mode/#code [+qo Vornotron Vornotron] by ChanServ |
19:57 | | Derakon[AFK] is now known as Derakon |
20:01 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds] |
20:18 | | Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds] |
20:22 | | Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code |
20:22 | | mode/#code [+o Alek] by ChanServ |
20:23 | | Kindamoody|afk is now known as Kindamoody |
21:34 | | Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds] |
21:37 | | Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code |
21:37 | | mode/#code [+o Alek] by ChanServ |
23:02 | | Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
--- Log closed Sun Mar 11 00:00:40 2018 |