Skip to content

Commit

Permalink
Fix async documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrala committed Jul 15, 2016
1 parent 68f9538 commit 5330d5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions documentation/demo/async-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ $(function(){
selector: '.context-menu-one',
trigger: 'none',
build: function($trigger, e) {
e.preventDefault();

// pull a callback from the trigger
return $trigger.data('runCallbackThingie')();
}
Expand Down

0 comments on commit 5330d5b

Please sign in to comment.