Permalink
Commits on Jul 18, 2011
  1. Speed up new version of the code

    aredridel committed Jul 18, 2011
    - cache a regex
    - move a helper function out of a closure
  2. Allow array[index] and object[property] syntaxes

    aredridel committed Jul 18, 2011
    This rewrites the parser so that things start out as arrays, and as soon as a
    non-numeric index is found, the array is converted into an object.
    
    This means that
    
      "foo[0]=bar&foo[thing]=baz"
    
    becomes
    
      {"foo": {"0": "bar", "thing": "baz"}}
    
    but
    
      "foo[1]=bar&foo[0]=baz"
    
    becomes
    
      {"foo": ["baz", "bar"]}
Commits on Jun 29, 2011
  1. Release 0.2.0

    tj committed Jun 29, 2011
  2. Merge branch 'integration'

    tj committed Jun 29, 2011
  3. fixed example

    tj committed Jun 29, 2011
  4. docs

    tj committed Jun 29, 2011
  5. refactored stringification

    tj committed Jun 29, 2011
  6. fixed some styling

    tj committed Jun 29, 2011
  7. better error messages

    tj committed Jun 29, 2011
  8. more refactoring

    tj committed Jun 29, 2011
  9. clean up stringify tests a bit

    tj committed Jun 29, 2011
  10. renamed test files

    tj committed Jun 29, 2011
  11. Add qs.stringify and associated tests. Adapted from Ruby's Rack::Util…

    bantic committed with tj Jun 28, 2011
    …s#build_nested_query
Commits on May 20, 2011
  1. Merge pull request #8 from mhemesath/patch-1

    tj committed May 20, 2011
    Updated the example to provide correct module and output.
Commits on Apr 13, 2011
  1. Release 0.1.0

    tj committed Apr 13, 2011
  2. Added jQuery-ish array support

    tj committed Apr 13, 2011
  3. added failing array test

    tj committed Apr 13, 2011
  4. added another array test

    tj committed Apr 13, 2011
Commits on Mar 13, 2011
  1. history

    tj committed Mar 13, 2011
  2. Release 0.0.7

    tj committed Mar 13, 2011
  3. consider == null empty

    tj committed Mar 13, 2011
Commits on Feb 14, 2011
  1. Release 0.0.6

    tj committed Feb 14, 2011
  2. more examples

    tj committed Feb 14, 2011
  3. docs

    tj committed Feb 14, 2011
  4. Added set() helper

    tj committed Feb 14, 2011
  5. more tests

    tj committed Feb 14, 2011
  6. misc

    tj committed Feb 14, 2011
Commits on Feb 10, 2011
  1. Release 0.0.5

    tj committed Feb 10, 2011
  2. durr

    tj committed Feb 10, 2011
Commits on Feb 9, 2011
  1. Release 0.0.4

    tj committed Feb 9, 2011