Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions catalyst/src/wrap.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/**
* A utility method which wraps a prototype method, ensuring the given function
* is also called as part of the given method name.
* A utility method which wraps a method on an object. If the method doesn't
* already exist on the object, it is simply assigned. If it does exist then
* both the new function and the existing function will be called with the same
* arguments.
*
* Used in the `controller()` decorator.
*/
Expand Down