Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs(ngRoute): ngRoute does not parseInt possible integer route parts in $routeParams #7386

Closed
wants to merge 1 commit into from

Conversation

wesalvaro
Copy link
Contributor

Request Type: docs

How to reproduce: View docs for $routeParams

Component(s): ngRoute

Impact: small

Complexity: small

Detailed Description:

Bad documented type for $routeParams. It should be an Object.<string, string>
Integers are not parsed for the user. They must be parsed from the string pulled from the URL.

@mary-poppins
Copy link

Thanks for the PR! Please check the items below to help us merge this faster. See the contributing docs for more information.

  • Uses the issue template (#7386)

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

@caitp caitp changed the title bug($routeParams): $routeParams is Object.<string, string> docs($routeParams): $routeParams is Object.<string, string> May 7, 2014
@caitp caitp added this to the 1.3.0 milestone May 7, 2014
@caitp
Copy link
Contributor

caitp commented May 7, 2014

Hi, could you fix the commit message please? Just so that nobody forgets to amend it. It's a docs fix, not a bugfix.

@wesalvaro wesalvaro added cla: yes and removed cla: no labels May 9, 2014
@wesalvaro
Copy link
Contributor Author

Updated, I think!

@wesalvaro wesalvaro changed the title docs($routeParams): $routeParams is Object.<string, string> docs(ngRoute): $routeParams is Object.<string, string> May 11, 2014
@wesalvaro wesalvaro changed the title docs(ngRoute): $routeParams is Object.<string, string> docs(misc core): @function is not JSDoc. Switch to @kind function. May 11, 2014
@wesalvaro wesalvaro changed the title docs(misc core): @function is not JSDoc. Switch to @kind function. docs(ngRoute): ngRoute does not parseInt possible integer route parts in $routeParams May 11, 2014
RichardLitt pushed a commit to RichardLitt/angular.js that referenced this pull request May 24, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants