-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Presentational layer refactoring (#187)"
This reverts commit 1b17f4b.
- Loading branch information
Showing
17 changed files
with
713 additions
and
9,823 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,6 @@ app/node_modules | |
dist | ||
app/dist | ||
app/main.js | ||
.eslintcache | ||
app/main.js.map | ||
release | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +0,0 @@ | ||
/* eslint "fp/no-mutation": "error", "fp/no-unused-expression": "error" */ | ||
// @flow | ||
|
||
export function setItem(item: Object) { | ||
return { | ||
type: 'SET_ITEM', | ||
item | ||
}; | ||
} | ||
|
||
export function setCurrentPlayer(currentPlayer: string) { | ||
return { | ||
type: 'SET_CURRENT_PLAYER', | ||
currentPlayer | ||
}; | ||
} | ||
|
||
export function setServingUrl(servingUrl: string) { | ||
return { | ||
type: 'SET_SERVING_URL', | ||
servingUrl | ||
}; | ||
} | ||
|
||
export function setLoadingStatus(statusName: string, isLoading: boolean) { | ||
return { | ||
type: 'SET_LOADING_STATUS', | ||
statusName, | ||
isLoading | ||
}; | ||
} | ||
|
||
export function setInitialState() { | ||
return { | ||
type: 'SET_INITIAL_STATE' | ||
}; | ||
} | ||
|
||
export function setTorrentProgress(torrentInProgress: boolean) { | ||
return { | ||
type: 'SET_TORRENT_PROGRESS', | ||
torrentInProgress | ||
}; | ||
} | ||
|
||
export function setProp(propName: boolean, propValue: any) { | ||
return { | ||
type: 'SET_PROP', | ||
propName, | ||
propValue | ||
}; | ||
} | ||
|
||
export function mergeProp(prop: any) { | ||
return { | ||
type: 'MERGE_PROP', | ||
mergeProp: prop | ||
}; | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.