Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

willem d'haeseleer

Member since May 22, 2014

Recent Blog Comments By willem d'haeseleer

  • Creating Asynchronous Alerts, Prompts, And Confirms In AngularJS

    Posted on May 22, 2014 at 8:57 AM

    "from the calling context, the workflow *is* asynchronous" That's incorrect, from a calling context these actually **are** blocking. While you would expect them to be non blocking Example: alert( "Hecks to the yea!" ).then( function handler() { ... read more »

  • Creating Asynchronous Alerts, Prompts, And Confirms In AngularJS

    Posted on May 22, 2014 at 8:42 AM

    Hi Ben great post, however: These new methods actually aren't asynchronous. Only the promise handlers are asynchronous because they go trough an "async trampoline". Your methods are still blocking. See her for a demo / proof: http://plnkr.co/edit/WvrBQiOt5KdbqV4LQhEJ?p=preview... read more »