-
Notifications
You must be signed in to change notification settings - Fork 3k
Parameter Typing -- URL Only #454
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
Closed
Closed
Changes from 3 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
322c85b
add flag in .transitionTo() to allow ability to disable broadcast of …
mattbroekhuis 8518db2
can register a type
5220d5c
UrlMatcher looks for types in the Url and generates a typeMap between…
8c30b39
format decodes typed values. removed normalization that was forcing b…
438a62a
Correctly detect left-click on IE8, fixes #452.
nateabele 4cdadcf
fix($resolve): resolve factories from string names
nateabele b7b2ceb
Merge pull request #451 from littlebitselectronics/component-support
nateabele d3c6a5d
added is and normalization to type
0cd78ae
matcher.exec checks typed parameters are of correct type
45e2639
split pattern and is
78f80a7
format checks the type before encoding
308cc1d
evaluates type equality when transitioning
ea9b3a7
added sample for custom type. documented the type function
7ac3739
Merge branch 'master' of github.com:toddhgardner/ui-router into typed…
e22517d
fixed equality in integer type
8c93f6b
Merge branch 'master' of github.com:toddhgardner/ui-router into typed…
c3859b8
merge
bcd71cb
fixing jsdoc for windows
c9da9f2
fixing jsdoc for windows
841239c
fixing release for windows
cf3e5b6
for 0.2.1. release
7e96189
release 0.2.1
92249d2
added simple typing to UrlMatch Contructor search params
04cc8a0
added anonymous type registration for search param regex
8271d0f
added pattern checking before decoding types in the exec()
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it'd be better to make
type()
a getter if you only pass a name.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, but instead, I've just dropped it. I only needed it for test purposes, and the exposed
type
function has to return thestate
object so that the config can be chained.