• Robert Knight's avatar
    Replace Angular $http service with `window.fetch` in OAuthClient · 11ac0e25
    Robert Knight authored
    As part of the migration away from AngularJS, replace `$http` with
    `fetch` in the OAuthClient class which handles interactions with h's
    OAuth endpoints.
    
    For testing use the fetch-mock library that is already used in h's
    frontend tests. The current version (v7) has dependencies that are
    written in ES6 and not transpiled, and so don't work in PhantomJS [1]. As a
    workaround, use v6 of the library for the time being.
    
    This is part of #974.
    
    [1] We _do_ transpile our own code from ES6 -> ES5 but that transform is
        not applied to dependencies.
    11ac0e25
Name
Last commit
Last update
..
components Loading commit data...
directive Loading commit data...
filter Loading commit data...
services Loading commit data...
store Loading commit data...
templates Loading commit data...
test Loading commit data...
util Loading commit data...
vendor Loading commit data...
annotation-metadata.js Loading commit data...
build-thread.js Loading commit data...
cross-origin-rpc.js Loading commit data...
events.js Loading commit data...
ga.js Loading commit data...
get-api-url.js Loading commit data...
host-config.js Loading commit data...
index.js Loading commit data...
live-reload-client.js Loading commit data...
markdown-commands.js Loading commit data...
media-embedder.js Loading commit data...
raven.js Loading commit data...
render-markdown.js Loading commit data...
search-client.js Loading commit data...
service-config.js Loading commit data...
tabs.js Loading commit data...
ui-constants.js Loading commit data...
virtual-thread-list.js Loading commit data...
websocket.js Loading commit data...