Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 12dd2cc037
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 35 lines (23 sloc) 0.875 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34

Is it OK to do:
    import { gammaName: name } from gamma;
    export gammaName;

What about setting the export for the module to a function?

* Get builds to work
  * Just use the text plugin, and use its inlining? So that import * can be supported.

switch to text plugin?
    - How to handle .js URLs? nameToUrl, but text no longer uses it.
    - could use own xhr stuff as now, use nameToUrl if available?
      - need built format to work well for IMPORTSTAR text.

put in demo


Text parsing that fails:

module two from 'two',
       three from 'three',
       four from '!four'; //comment here

module two from 'two',
       three from 'three',
       //comment in here.
       four from '!four';

FAQ:

Cannot use .js for files, use .hm:
    * want optimizer to still work. Will try to optimize .js file via minifiers,
      which will break with the new keywords.
Something went wrong with that request. Please try again.