Skip to content

Commit

Permalink
Merge pull request rust-lang#13 from miguelcobain/patch-3
Browse files Browse the repository at this point in the history
add noop function reference
  • Loading branch information
cibernox authored Jun 4, 2018
2 parents b9d17f5 + 9d6311f commit 57a21d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions text/0000-deprecate-send-action.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ export default Component.extend({
// if (this.salute) {
// this.salute()
// }
//
// Alternatively, you can also define a noop salute function:
// salute() {}
//
// This allows you to remove the guard while provinding an obvious place to add
// docs for that action.
}
}
});
Expand Down

0 comments on commit 57a21d2

Please sign in to comment.