diff options
| author | Steven Petryk | 2014-02-19 09:57:46 -0500 |
|---|---|---|
| committer | Igor Minar | 2014-02-19 08:03:20 -0800 |
| commit | 696928dbc6d2add97a9a283545a461bf86d23a28 (patch) | |
| tree | 0576e8fd715273351ccd0dc8af20f3ff44f1b68a /src/ngRoute | |
| parent | cbcfaa2c8db02f7b529e6de0a6f8957ad03efdb5 (diff) | |
| download | angular.js-696928dbc6d2add97a9a283545a461bf86d23a28.tar.bz2 | |
docs($routeProvider): fix indentation
Closes #6345
Somebody accidentally padded a list with one-too-many indentations, which caused the actual documentation page to render incorrectly. This should fix it.
Diffstat (limited to 'src/ngRoute')
| -rw-r--r-- | src/ngRoute/route.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ngRoute/route.js b/src/ngRoute/route.js index d078ea0b..fe5d8ec7 100644 --- a/src/ngRoute/route.js +++ b/src/ngRoute/route.js @@ -51,19 +51,19 @@ function $RouteProvider(){ * `$location.path` will be updated to add or drop the trailing slash to exactly match the * route definition. * - * * `path` can contain named groups starting with a colon: e.g. `:name`. All characters up + * * `path` can contain named groups starting with a colon: e.g. `:name`. All characters up * to the next slash are matched and stored in `$routeParams` under the given `name` * when the route matches. - * * `path` can contain named groups starting with a colon and ending with a star: + * * `path` can contain named groups starting with a colon and ending with a star: * e.g.`:name*`. All characters are eagerly stored in `$routeParams` under the given `name` * when the route matches. - * * `path` can contain optional named groups with a question mark: e.g.`:name?`. + * * `path` can contain optional named groups with a question mark: e.g.`:name?`. * * For example, routes like `/color/:color/largecode/:largecode*\/edit` will match * `/color/brown/largecode/code/with/slashs/edit` and extract: * - * * `color: brown` - * * `largecode: code/with/slashs`. + * * `color: brown` + * * `largecode: code/with/slashs`. * * * @param {Object} route Mapping information to be assigned to `$route.current` on route |
