Skip to content

Commit

Permalink
Remove documentation about Sinon not being AMD compatible as it is no…
Browse files Browse the repository at this point in the history
… longer true
  • Loading branch information
sunesimonsen committed Nov 11, 2018
1 parent d7f7f76 commit bf3e24a
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions documentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,22 +143,6 @@ define(['unexpected', 'unexpected-sinon'], funtion (unexpected, unexpectedSinon)
});
```

Because Sinon is currently not AMD compatible you will need this RequireJS configuration to make things work:

```js#evaluate:false
requirejs.config({
paths: {
'sinon': 'path/to/sinon'
},
shim: {
'sinon': {
deps: ['sinon'],
exports: 'sinon'
}
}
});
```

## Source

The source for Unexpected can be found on
Expand Down

0 comments on commit bf3e24a

Please sign in to comment.