[Bug 24848] [imports]: ES6 module loader should be aware modules in HTML Imports

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24848

--- Comment #4 from johnjbarton <johnjbarton@johnjbarton.com> ---
I think the normal solution here is like:
---
Base.js:
class Base ...

import_a.html:
<module>import {Base} from './Base'; ....</module>

Derived.js:
import {Base} from './Base';
class Derived extends Base { ...

import_b.html
<link rel=import href=import_a.html>
<module>import {Derived} from './Derived'; ....</module>
---

That is, developers use anonymous modules for non-reusable JS related to their
HTML, they use HTML-Import for re-usbable HTML, and they use JS-import for
reusable JS.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 28 February 2014 22:06:16 UTC