Localstorage woes again; multiple requests; creating common components
This commit is contained in:
@ -3,6 +3,13 @@
|
||||
* Actions and Action Creators
|
||||
**/
|
||||
|
||||
export function setConfig( config ){
|
||||
return {
|
||||
type: 'MOPIDY_SET_CONFIG',
|
||||
config: config
|
||||
}
|
||||
}
|
||||
|
||||
export function connect(){
|
||||
return {
|
||||
type: 'MOPIDY_CONNECT'
|
||||
@ -15,14 +22,6 @@ export function disconnect(){
|
||||
}
|
||||
}
|
||||
|
||||
export function setConfig( host, port ){
|
||||
return {
|
||||
type: 'MOPIDY_SET_CONFIG',
|
||||
host: host,
|
||||
port: port
|
||||
}
|
||||
}
|
||||
|
||||
export function changeTrack( tlid ){
|
||||
return {
|
||||
type: 'MOPIDY_CHANGE_TRACK',
|
||||
|
||||
Reference in New Issue
Block a user