yandex / mapsapi-modules

Async modular system
132 stars 29 forks source link

Allow to use string version for dependence from one module #4

Closed dfilatov closed 11 years ago

dfilatov commented 11 years ago
modules.define('A', 'B', function() { });

instead

modules.define('A', ['B'], ...

and

modules.require('A', ...

instead

modules.define(['A'], ...
dfilatov commented 11 years ago

Added in 0.0.3