Skip to content

Commit

Permalink
Removed unused definition + re-copied gPD().
Browse files Browse the repository at this point in the history
  • Loading branch information
uhop committed Jun 6, 2017
1 parent e9ae677 commit 2cf9184
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions advise.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,6 @@
advise.around = function(instance, name, f){ return advise(instance, name, {around: f}); };
advise.Node = Node;

advise._instantiate = function(advice, previous, node){ return advice(previous); };

return advise;

// copied from dcl.js so we can be independent
Expand All @@ -190,6 +188,6 @@
}
o = Object.getPrototypeOf(o);
}
return null;
return; // undefined
}
});

0 comments on commit 2cf9184

Please sign in to comment.