amdjs / amdjs-api

Houses the Asynchronous Module Definition API
https://groups.google.com/group/amd-implement
4.31k stars 500 forks source link

Wrong design: Dependencies separated by "!" #34

Open ppeterka opened 7 years ago

ppeterka commented 7 years ago

Any strings containing multiple paths, or URLs, like the dependencies in AMD:

The current spec prevents the module paths from being correctly resolved when any of them contains an exclamation mark.

Problematic part

If Loader Plugins are supported in the AMD implementation, then "!" is used to separate the loader plugin's module id from the plugin's resource id. Since plugin resource ids can be extremely free-form, most characters should be allowed for plugin resource ids.

Suggestions

wangpung12 commented 6 years ago

Good

forjuan commented 2 years ago

你好!我已收到你的邮件。