You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.
Hey, small suggestion. If you would use $q.when on the result of the loadFN instead of calling .then on it, you could simplify the API without breaking backwards compatibility. Then the return from the loadFN could still be a promise, but would not HAVE TO be.
I could put this in a pull request if you would like!
Thanks for the awesome code!
The text was updated successfully, but these errors were encountered:
…to be a promise
Use $q.when to remove api restriction that the result of loadFn must be a promise.
This is a simple non-breaking addition which makes the API more simple to use.
Closesmbenford#237
…n a promise
Use $q.when to remove api restriction that the result of the source option
must be a promise. This is a simple non-breaking addition which makes the
API more simple to use.
Closesmbenford#237
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey, small suggestion. If you would use $q.when on the result of the loadFN instead of calling .then on it, you could simplify the API without breaking backwards compatibility. Then the return from the loadFN could still be a promise, but would not HAVE TO be.
I could put this in a pull request if you would like!
Thanks for the awesome code!
The text was updated successfully, but these errors were encountered: