jacomyal / domino.js

[deprecated] A JavaScript cascading controller for fast interactive Web interfaces prototyping.
https://jacomyal.github.io/domino.js
MIT License
54 stars 7 forks source link

[reboot-proposal] Services requests should expose a callback #71

Open Yomguithereal opened 9 years ago

Yomguithereal commented 9 years ago

It should be possible to define the outcome of calling a service when doing so.

controller.request('gnagna', params, function(data) {
  console.log('hey, data', data);
});