Html You'll have some kindof top level html file. It helps to think of this as your project file.
|The ES6 module spec||I have a passion for understanding things at a fundamental level and sharing it as clearly as possible.|
|Background||IE6 and up Firefox 3. Create an IIFE immediately invoked function expression so we can have non-public state variables.|
|Introduction||Even CSS has import!|
|What is a module?||Register as an anonymous module.|
You could also declare nested namespaces here or in their own files. It's a function which returns a function which we immediately execute. Concepts I think it helps to think of the top line in SomeComponent as being the namespace where you are declaring something.
You can also use this style to define constructors by returning a function which returns an object with a collection of functions and not calling it immediately.I am writing a JS Module pattern to test out code and help me understand the pattern, using a JS Fiddle.
"Bring Your Own Organization", if you will. As I write more and more.