UNPKG

apinode

Version:

An API server that can greatly reduce the work needed to implment API services. It can also cooperate with other API node to make it a mesh of services.

9 lines (8 loc) 215 B
ctrl.startup = function () { ctrl.sel(".markdown").each(function(idx,ele){ ctrl.sel(ele).html(marked(ele.textContent)); }); } ctrl.changeDoc = function (endpoint) { ctrl.callHandler('onChangeDoc', endpoint); }