- From: <bugzilla@jessica.w3.org>
- Date: Fri, 28 Feb 2014 22:06:15 +0000
- To: public-webapps-bugzilla@w3.org
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