Skip to content

Commit

Permalink
fix(context): correct syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Hoddinott committed Jun 2, 2016
1 parent c3f7ba6 commit 0b1c4b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/markdown/context.md
Expand Up @@ -76,7 +76,7 @@ function myContextProvider(context, execution, controller) {
So let us imagine that we want to create a provider that exposes all the modules on the context of all actions.

```javascript
controller.addContextProvider((context, execution, controller) {
controller.addContextProvider((context, execution, controller) => {
context.modules = controller.getModules();

return context;
Expand Down

0 comments on commit 0b1c4b5

Please sign in to comment.