Permalink
Commits on Aug 1, 2012
  1. added examples file

    nathanmacinnes committed Aug 1, 2012
Commits on Jul 28, 2012
  1. updated interface for version 0.5

    nathanmacinnes committed Jul 28, 2012
    Plus complete re-write of the tests using Mocha and expect.js
Commits on Jan 19, 2012
  1. Changed interface back to calling pretendr() directly

    nathanmacinnes committed Jan 19, 2012
    I didn't realise you could do this in node, so changed the interface for both in 0.2
    so that the browser and node.js interfaces matched. I've worked out how to do it now
    so changed it back, and made the version 0.3 as this is a significant interface
    change.
Commits on Jan 18, 2012
  1. Re-added feature with a test to go with it

    nathanmacinnes committed Jan 18, 2012
    When a user calls setReturnValue with multiple values, then calls it
    again, it'll reset the call count so that it starts cycling from the
    beginning again
  2. Removed untested code

    nathanmacinnes committed Jan 18, 2012
    I'll create a failing test then add it back in
  3. updated version number

    nathanmacinnes committed Jan 18, 2012
  4. Created the same interface for browser and node

    nathanmacinnes committed Jan 18, 2012
    For browser, use global PRETENDR
    For node, use var PRETENDR = require('pretendr');
    
    Made tests work with both
  5. cleaned up

    nathanmacinnes committed Jan 18, 2012
    Doesn't work with the browser as-is, so removed bits meant to make it work with the browser
  6. Hopefully this will work in the browser too

    nathanmacinnes committed Jan 18, 2012
    Not in an environment where I can test it
  7. Changed to make browser interface match node interface

    nathanmacinnes committed Jan 18, 2012
    Not yet tested in the browser
  8. typo

    nathanmacinnes committed Jan 18, 2012
  9. Package changes

    nathanmacinnes committed Jan 18, 2012
Commits on Jan 17, 2012
  1. Fixed dependency error

    nathanmacinnes committed Jan 17, 2012
  2. Fixed JSON

    nathanmacinnes committed Jan 17, 2012
  3. Added files and main

    nathanmacinnes committed Jan 17, 2012
  4. fixed version number

    nathanmacinnes committed Jan 17, 2012
  5. Fixed markup

    nathanmacinnes committed Jan 17, 2012
  6. Packaging changes

    nathanmacinnes committed Jan 17, 2012
Commits on Jan 13, 2012