1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00
onion/js/sources/edition_source.js
Brett Sun 5ee3b07cc1 Revert "Hotfix for iOS Safari mergeOptions clashes"
This reverts commit 1b4c6938f6.

The actual problem was the late loading of the polyfills.
2015-12-15 16:26:49 +01:00

19 lines
422 B
JavaScript

'use strict';
import requests from '../utils/requests';
import EditionActions from '../actions/edition_actions';
const EditionSource = {
lookupEdition: {
remote(state) {
return requests.get('edition', { bitcoin_id: state.editionMeta.idToFetch });
},
success: EditionActions.successFetchEdition,
error: EditionActions.errorEdition
}
};
export default EditionSource;