Skip to content

Commit

Permalink
Merge pull request #3178 from morrme/patch-1
Browse files Browse the repository at this point in the history
Update beforeremove syntax in Migration Guide
  • Loading branch information
chasenlehara committed Apr 25, 2017
2 parents df2434d + 1eb831c commit d7f523f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/can-guides/commitment/migrating_to_3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ Component.extend({
tag: "my-panel",

events: {
"beforeremove": function(){
"{element} beforeremove": function(){
canViewModel(this.element.parentNode).removePanel(this.viewModel);
}
}
Expand Down

0 comments on commit d7f523f

Please sign in to comment.