Skip to content

Commit

Permalink
Merge pull request #1920 from mesaugat/docs-fix-json-format
Browse files Browse the repository at this point in the history
docs(config): Use double quotes for json
  • Loading branch information
dignifiedquire committed Feb 21, 2016
2 parents 0f1b1ec + 188d770 commit eddd9de
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions docs/plus/02-travis.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ If you do not already have a `package.json` in your project root
create one now. Travis runs `npm test` to trigger your tests so this
is where you tell Travis how to run your tests.

```javascript
```json
// ...snip...
'devDependencies': {
'karma': '~0.12'
"devDependencies": {
"karma": "~0.12"
},
// ...snip...
'scripts': {
'test': 'karma start --single-run --browsers PhantomJS'
"scripts": {
"test": "karma start --single-run --browsers PhantomJS"
}
// ...snip...
```
Expand Down
16 changes: 8 additions & 8 deletions docs/plus/04-semaphore.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@ If you do not already have a `package.json` in your project root,
create one now. This will both document your configuration and
make it easy to run your tests. Here's an example:

```javascript
```json
// ...snip...
'devDependencies': {
'karma': '~0.10'
"devDependencies": {
"karma": "~0.10"
},
// ...snip...
'scripts': {
'test': './node_modules/.bin/karma start --single-run --browsers PhantomJS'
"scripts": {
"test": "./node_modules/.bin/karma start --single-run --browsers PhantomJS"
}
// ...snip...
```

Another option is to use Firefox as your test browser. To do this, change
the last part to:

```javascript
'scripts': {
'test': './node_modules/.bin/karma start --single-run --browsers Firefox'
```json
"scripts": {
"test": "./node_modules/.bin/karma start --single-run --browsers Firefox"
}
```

Expand Down

0 comments on commit eddd9de

Please sign in to comment.