Skip to content

Commit

Permalink
added more changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mat Ryer committed Oct 3, 2013
1 parent 4daea95 commit b103602
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Arg.js gives you quick and easy access to parameters in the URL.
* Added `Arg(key)` shorter interface as well as `Arg.get(key)`.
* Ignores undefined/empty keys and values.
* Cleans up edge cases (i.e. where paths are present in parse() calls etc).
* Will now optionally coerce a native type out of value if possible (i.e. Number, Boolean, undefined, etc). To not coerce, set `Arg.coerceMode = false`
* Better handling of complex objects that have mixed nested objects/arrays. See new test case added to test/spec/arg.js for an example object that was failing and is no longer failing.
* [Added support for anchors](https://github.com/stretchr/arg.js/issues/8) in `Arg.url(path, params, anchorString)` (i.e. no longer assumes they're variables if it's a string)

##### v1
Expand Down

0 comments on commit b103602

Please sign in to comment.