Skip to content

Commit

Permalink
Fix errors in docs, see GeppettoJS#43
Browse files Browse the repository at this point in the history
  • Loading branch information
creynders committed Aug 12, 2014
1 parent 783c215 commit cce5479
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,19 +296,17 @@ define([
) {

return Geppetto.Context.extend( {
initialize: function () {
wiring: {
singletons: {
"userModel": Backbone.Model,
"productModel": ProductModel,
"loggingSvc": LoggingSvc
},
views: {
"UserView": UserView,
"ProductView": ProductView
}
}
}
wiring: {
singletons: {
"userModel": Backbone.Model,
"productModel": ProductModel,
"loggingSvc": LoggingSvc
},
views: {
"UserView": UserView,
"ProductView": ProductView
}
}
});
});
```
Expand Down Expand Up @@ -356,16 +354,18 @@ return Geppetto.Context.extend( {

```javascript
return Geppetto.Context.extend( {
commands: {
"appEventFoo": FooCommand,
"appEventBar": BarCommand,
"appEventBaz": BazCommand,
"appEventFooBarBaz": [
FooCommand,
BarCommand,
BazCommand
]
}
wiring : {
commands: {
"appEventFoo": FooCommand,
"appEventBar": BarCommand,
"appEventBaz": BazCommand,
"appEventFooBarBaz": [
FooCommand,
BarCommand,
BazCommand
]
}
}
});

```
Expand Down

0 comments on commit cce5479

Please sign in to comment.