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

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

    swannodette committed
    …ue without triggering realized event. allow firing the realized event directly via Promise.notify.
  5. @swannodette

    added $comp

    swannodette committed
  6. @swannodette

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

    swannodette committed
    …ved unused functions. using Function.comp from MTMods. This can handle using Function.comp directly.
  7. @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
  4. @swannodette

    Traditional JS formatting.

    swannodette committed
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

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

    fixed bugs in hash support.

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

    make falseExpr optional.

    swannodette committed
  2. @swannodette

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

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

    support to for debug.

    swannodette committed
  2. @swannodette
  3. @swannodette
  4. @swannodette

    Beginning to understand the implications of

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

    minor typos in readme.

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

    example for preconditions.

    swannodette committed
  3. @swannodette

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

    swannodette committed
    …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.
  4. @swannodette

    typos.

    swannodette committed
  5. @swannodette

    typos

    swannodette committed
Something went wrong with that request. Please try again.