https://bugzilla.wikimedia.org/show_bug.cgi?id=37982
--- Comment #3 from Krinkle <[email protected]> 2012-08-03 09:17:45 UTC --- (In reply to comment #2) > Note that es-harmony seems to be standardizing promises in such a way they'll > eventually be a standard feature. > > Depending on the strawman that gets standardized it will either be > .then(doneFn, failFn); or .when(doneFn, failFn); > > Though these promises aren't going to have something like .progress(). Interesting, but lets not fall into the pitfall of bad coding patterns under the excuse of familiar patterns from unrelated environments. We are using a jQuery promise, which should be used the way a jQuery promise should be used. Even if that means it won't look "like" an es-harmony promise. I'm not saying .then() will fail on a jQuery promise, but that's not how I think we should encourage usage of it. At least what es-harmony will or will not do can not possibly play a role in this decision. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
