Custom module APIs

41 views
Skip to first unread message

Christopher Bray

unread,
Jul 19, 2014, 5:26:20 PM7/19/14
to breac...@googlegroups.com
Hey all,

I was wondering what the how I would expose the API of a custom module? When accessing the core API we use the following syntax.


 breach
.module('core').call(/* ... */);


Now, let's say I had the module 'brayniverse', how would I register my module so that the I can refer to the it from another module?


 breach.module('brayniverse').call(/* ... */);
 

Thank you,

Christopher

Stanislas Polu

unread,
Jul 21, 2014, 5:53:23 PM7/21/14
to Christopher Bray, breac...@googlegroups.com

-stan

--
Stanislas Polu

Mo: +1 415 216 5700 | Tw: @spolu 


--
You received this message because you are subscribed to the Google Groups "breach-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to breach-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages