blob: 815717592f9be106d95504e64aac0260a6440345 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import * as types from '../../types'
// import actions from '../../actions'
// import { session } from '../../session'
import { api, post, pad, preloadImage } from '../../util'
export const loadPeaks = (asdf) => dispatch => {
api(dispatch, types.peaks, 'peaks', '/static/data_store/peaks/peaks.json')
}
export const loadText = (asdf) => dispatch => {
api(dispatch, types.text, 'text', '/static/data_store/peaks/text.txt')
}
|