Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Language improvements #18

Closed
wants to merge 1 commit into from

2 participants

@aknuds1

I noticed a few typos and some language that could be improved for clarity. I think it reads better this way, and hope you agree. Otherwise, love the project and the documentation :)

@vojtajina vojtajina referenced this pull request from a commit in karma-runner/karma
@vojtajina vojtajina docs(config): improve language d57dd0d
@vojtajina

Hi @aknuds1, thanks!

The content of the docs is in the main repo, this is just auto-generated. Please send the PR to the main repo next time. I made the change there karma-runner/karma@d57dd0d

@vojtajina vojtajina closed this
@vojtajina vojtajina referenced this pull request from a commit in karma-runner/karma
@vojtajina vojtajina docs(config): improve language 71d0932
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 24, 2013
  1. @aknuds1

    Language improvements

    aknuds1 authored
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/content/0.10/config/02-files.md
View
12 src/content/0.10/config/02-files.md
@@ -31,7 +31,7 @@ Each pattern is either a simple string or an object with four properties:
* **Type.** Boolean
* **Default.** `true`
* **Description.** Should the files be included in the browser using
- `<script>` tag? Use `false` if you wanna load them manually, eg.
+ `<script>` tag? Use `false` if you want to load them manually, eg.
using [Require.js](../plus/RequireJS.html).
### `served`
@@ -39,25 +39,25 @@ Each pattern is either a simple string or an object with four properties:
* **Default.** `true`
* **Description.** Should the files be served by Karma's webserver?
-## Preprocessor tranformations
+## Preprocessor transformations
Depending on preprocessor configuration, be aware that files loaded may be transformed and no longer available in
their native format. For instance, if html2js preprocessor is enabled, the actual .html files are no longer
served - but rather available as `window.__html__['my.html']`. Read more about [preprocessors].
## Complete example
-Here is a complete example showing the different options that are possible.
+Here is a complete example showing the different options possible:
```javascript
files: [
- // simple patterns to load the needed testfiles
- // equals to {pattern: 'test/unit/*.spec.js', watched: true, served: true, included: true}
+ // simple pattern to load the needed testfiles
+ // equal to {pattern: 'test/unit/*.spec.js', watched: true, served: true, included: true}
'test/unit/*.spec.js',
// this file gets served but will be ignored by the watcher
// note if html2js preprocessor is active, reference as `window.__html__['compiled/index.html']`
{pattern: 'compiled/index.html', watched: false},
- // this file only gets watched but otherwise ignored
+ // this file only gets watched and is otherwise ignored
{pattern: 'app/index.html', included: false, served: false}
],
```
Something went wrong with that request. Please try again.