Giter Club home page Giter Club logo

Comments (1)

goldibex avatar goldibex commented on June 21, 2024

The promises returned by Fireproof in the bless case are Promises/A+
compliant, not ES6 compliant (https://promisesaplus.com). In general what
we need is to refactor the entire codebase to use native Promise calls and
clean things up that way. But going forward .bless is deprecated together
with the whole "defer" model, which is not ES6 either.

On Tue, Dec 15, 2015 at 11:19 AM Josh Dague [email protected]
wrote:

When blessed, the thing returned from Fireproof is not an actual promise,
just an object with a then that is bound to the blessed library's then
function. The object is missing the catch method required by ES6 ยง
25.4.5.1
http://www.ecma-international.org/ecma-262/6.0/#sec-promise.prototype.catch
.

Ideally, Fireproof would return a real promise from the blessed library.
(When un-blessed -- ie using native promises -- it does appear to return
real promises.)

I'm pretty sure this is new to 3.1.

โ€”
Reply to this email directly or view it on GitHub
#22.

from fireproof.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.