docs
This commit is contained in:
parent
cdba6f87ed
commit
5095131e95
1 changed files with 1 additions and 1 deletions
|
@ -464,7 +464,7 @@ this.accepts('html', 'json');
|
||||||
or use a switch:
|
or use a switch:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
switch (this.accepts('json, html, text')) {
|
switch (this.accepts('json', 'html', 'text')) {
|
||||||
case 'json': break;
|
case 'json': break;
|
||||||
case 'html': break;
|
case 'html': break;
|
||||||
case 'text': break;
|
case 'text': break;
|
||||||
|
|
Loading…
Reference in a new issue