refactor($q): remove unnecessary checks/helpers/wrappers
- Remove internal `makePromise()` helper. - Remove unnecessary wrapper functions. - Remove unnecessary check for promises resolving multiple times. (By following the Promises/A+ spec, we know this will never happen.) - Switch from function expressions to (named) function declarations. Closes #15065
J
Jason Bedard committed
78e6a58368470cef3454b33acd8ee788f2eb88e2
Parent: 51c516e
Committed by Georgios Kalpakas <kalpakas.g@gmail.com>
on 9/10/2016, 1:03:13 PM