Skip to content
Commits on Sep 4, 2009
  1. @swannodette
  2. @swannodette

    allow for regular values when creating promises. allow Promise.setVal…

    …ue without triggering realized event. allow firing the realized event directly via Promise.notify.
    swannodette committed Sep 3, 2009
  3. @swannodette

    added $comp

    swannodette committed Sep 3, 2009
  4. @swannodette

    updated version number. updated comment on wrapper modification. remo…

    …ved unused functions. using Function.comp from MTMods. This can handle using Function.comp directly.
    swannodette committed Sep 3, 2009
  5. @swannodette
Commits on Aug 31, 2009
  1. @swannodette
Commits on Aug 21, 2009
  1. @swannodette
Commits on Aug 12, 2009
  1. @swannodette
  2. @swannodette
  3. @swannodette

    minor formatting tweak.

    swannodette committed Aug 12, 2009
  4. @swannodette

    Traditional JS formatting.

    swannodette committed Aug 12, 2009
Commits on Aug 6, 2009
  1. @swannodette
Commits on Jul 31, 2009
  1. @swannodette
  2. @swannodette

    added Promise.get. This return a new Promise which

    when realized, will access the desired property
    from the promise. This assumes that the realized
    Promise value is an object.
    swannodette committed Jul 31, 2009
Commits on Jul 30, 2009
  1. @swannodette
  2. @swannodette

    fixed bugs in hash support.

    swannodette committed Jul 30, 2009
  3. @swannodette
  4. @swannodette
  5. @swannodette
  6. @swannodette
Commits on Jul 29, 2009
  1. @swannodette

    make falseExpr optional.

    swannodette committed Jul 29, 2009
  2. @swannodette

    if value from a request is not a json object with a data property, ju…

    …st set the value of the promise to the json value.
    swannodette committed Jul 28, 2009
Commits on Jul 24, 2009
  1. @swannodette
Commits on Jul 23, 2009
  1. @swannodette

    support to for debug.

    swannodette committed Jul 23, 2009
  2. @swannodette
  3. @swannodette
  4. @swannodette

    Beginning to understand the implications of

    Promises. Really need a purely functional style
    for it to work. Added $if and $iflet helpers.
    Updated examples, add true.json and false.json.
    swannodette committed Jul 23, 2009
  5. @swannodette

    minor typos in readme.

    swannodette committed Jul 22, 2009
Commits on Jul 22, 2009
  1. @swannodette
  2. @swannodette

    example for preconditions.

    swannodette committed Jul 22, 2009
  3. @swannodette

    added preconditions decorator to Promises.js for argument checking. I…

    …f arguments don't check out function is not called and returns null. You can optionally have it throw an Exception.
    
    pre is useful for UI side effects- i.e. don't let this function run unless these conditions are true and let the user know something went wrong.
    swannodette committed Jul 22, 2009
  4. @swannodette

    typos.

    swannodette committed Jul 22, 2009
  5. @swannodette

    typos

    swannodette committed Jul 22, 2009
  6. @swannodette
  7. @swannodette

    typos and better copy.

    swannodette committed Jul 21, 2009
Something went wrong with that request. Please try again.