Example #1
0
meld.before(Phone.prototype, 'dial', function () {
  console.log(
    '{}: Calling {}...',
    meld.joinpoint().method,
    meld.joinpoint().args[0].name
  );
});
Example #2
0
 this.afterReceiveAdvice = after(ChatView.prototype, 'onReceived', () => {
   fireAfterReceive(...joinpoint().args);
 });