Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: gh-pages
Commits on Jul 25, 2012
  1. Fix the export in CommonJS environments

    authored
    Summary:
    If the current module is used in a mixed environment, loaded as part of
    a CommonJS style module, but where the scopechain contains an AMD style
    'defined' function, this function would wrongfully use this to define
    itself instead of exporting using the module/exports variables.
    
    This diff changes the order of the tests so that it prefers exporting to
    the `module` object, then the `exports` object and finally using `define`.
    
    Test Plan: Ran the test suite, and loaded the module inside a local
    CommonJS environment running in a page also hosting an AMD style loader.
    
    Reviewers: kitcambridge
Commits on Jul 13, 2012
  1. @kitcambridge

    JSON v3.2.3.

    kitcambridge authored
  2. @kitcambridge
Commits on Jun 4, 2012
  1. @kitcambridge
  2. @kitcambridge

    `JSON.parse`: Use closure variables instead of a state object to stor…

    kitcambridge authored
    …e the source string and scanner position.
Commits on May 12, 2012
  1. @kitcambridge
Commits on May 5, 2012
  1. @kitcambridge
  2. @kitcambridge

    JSON v3.2.2.

    kitcambridge authored
  3. @kitcambridge
  4. @kitcambridge
Commits on Apr 29, 2012
  1. @kitcambridge
  2. @kitcambridge
  3. @kitcambridge

    Use the global `String` and `Number` constructors. Remove an unnecess…

    kitcambridge authored
    …ary assignment in the `JSON.parse` feature test. `walk` should use the `delete` operator when removing elements from arrays, instead of `Array#splice` (closes #10).
Commits on Apr 28, 2012
  1. @kitcambridge
  2. @kitcambridge
  3. @kitcambridge

    Remove the top-level immediately-invoked function expression before c…

    kitcambridge authored
    …ompressing JSON 3; the compressed output is already wrapped in one.
Commits on Apr 27, 2012
  1. @kitcambridge

    JSON v3.2.1.

    kitcambridge authored
  2. @kitcambridge
  3. @kitcambridge

    `build.js`: Use the Node `zlib` module instead of shelling out to `gz…

    kitcambridge authored
    …ip`. Merge `invoke()` into `readSource()`.
Commits on Apr 26, 2012
  1. @kitcambridge

    Delegate to the native `JSON` implementation, if available, in asynch…

    kitcambridge authored
    …ronous module loaders and CommonJS environments. Closes #6.
Commits on Apr 25, 2012
  1. @kitcambridge

    Make the asynchronous module loader check compatible with the Require…

    kitcambridge authored
    …JS Optimizer. Rename `isPropertyOf` to `isProperty`.
  2. @kitcambridge
Commits on Apr 24, 2012
  1. @kitcambridge
  2. @kitcambridge
  3. @kitcambridge

    Manually compute the hours, minutes, seconds, and milliseconds when s…

    kitcambridge authored
    …erializing dates in Safari < 2.0.2 and Opera >= 10.53. Use strict equality when checking for cyclic structures. Lazy-define `isPropertyOf` only if `Object#hasOwnProperty` is not present.
Commits on Apr 23, 2012
  1. @kitcambridge

    `build.js`: Append a trailing semicolon to the minified version and s…

    kitcambridge authored
    …plit lines at 500 characters.
Commits on Apr 19, 2012
  1. @kitcambridge
  2. @kitcambridge
  3. @kitcambridge
Commits on Apr 18, 2012
  1. @kitcambridge
  2. @kitcambridge
Commits on Apr 15, 2012
  1. @kitcambridge

    JSON v3.2.

    kitcambridge authored
  2. @kitcambridge
  3. @kitcambridge

    Add `String#charCodeAt`, `Date#valueOf`, `Number#toString`, and `Arra…

    kitcambridge authored
    …y#splice` to the list of required native methods.
  4. @kitcambridge

    Clean up the comments. Opera <= 7.54u2 allows empty string object key…

    kitcambridge authored
    …s if they are not used within an object member list, and supports passing negative arguments to `String#slice`.
Something went wrong with that request. Please try again.