hzdg / queueup.js

A promise-based JavaScript asset loader.
2 stars 0 forks source link

Use native (ES6?) Promises by default #13

Closed lettertwo closed 10 years ago

lettertwo commented 10 years ago

A new spec is on the way for native Promise objects (it seems this spec will supersede the DOM Promises spec). We should modify queueup to use that native Promise by default (implementations are already in Chrome Canary and FF), and fall back to a polyfill in other situations.

matthewwithanm commented 10 years ago

Might want to fall back to (wrapped) jQuery promises if present?

lettertwo commented 10 years ago

14 is the solution for providing alternate implemention