adamjgrant / Mozart

A simple JavaScript pattern for slim, organized AJAX applications
http://adamjgrant.github.io/Mozart/
MIT License
89 stars 4 forks source link

Separate APIs should be able to have identical API methods #9

Open adamjgrant opened 3 years ago

adamjgrant commented 3 years ago

Currently you'll get a max call stack error if you try

m$.A.api({ hello: (_$, options) {} });
m$.B.api({ hello: (_$, options) {} });

These are namespaces, so it should be possible to do this.