W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2013

Re: [whatwg] Script preloading

From: Kyle Simpson <getify@gmail.com>
Date: Fri, 12 Jul 2013 15:20:57 -0500
Message-Id: <8ADC17D8-FAE4-4578-A2DC-E2AEEB815DD0@gmail.com>
To: "whatwg@whatwg.org" <whatwg@whatwg.org>
(being as brief as I possibly can...)

> As per the existing outline, I don't see how it could have any "sensitivity".

So, just to clarify, `<script dependencies=…>` waiting on some other <script> tag is ONLY waiting on that script tag loading to have some sort of positive network result, whether that be a 2xx, 3xx, 4xx, or 5xx, and it cares not whether the script in question actually loaded, nor whether it fired its `onerror` event? Do I have that correct?

> I think you missed the second sentence…

Did I miss some rhetorical levity? Sorry. :)

> That's only your ignorance speaking. There are examples in the repo which you can use to extrapolate examples, or if you a code snippet showing the problem,

I did show a code snippet with the "problem" already.

Specifically: https://gist.github.com/getify/5976429#file-ex2-jaffathecake-js-L54-L68

As I said, I only glanced at your long writeup on Navigation Controller. "Ignorance" is a tiny bit of a pejorative term for my lack of knowledge of some non-trivial you just dropped onto the list right in the middle of lots of other discussion. But I'll take it in a pleasant light and agree, indeed, that I'm ignorant so far of how Navigation Controller can help.

Had it been clear and obvious to me in my initial glances at your document immediately how to address the code problem above, I certainly wouldn't have exposed such ignorance.

In any case…

> either Jake or I can show how NC would address it.

I would certainly appreciate input on that part of the code I highlighted. As I said…

> I look forward to you helping remedy that. :)

Received on Friday, 12 July 2013 20:21:25 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:03 UTC