Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(config): Use double quotes for json #1920

Merged
merged 1 commit into from
Feb 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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