2016-11-23 22:58:48 +01:00
|
|
|
|
2016-11-28 18:47:47 +01:00
|
|
|
export const updateOriginalInput = (text) => ({ type: 'UPDATE_ORIGINAL_INPUT', data:text})
|
|
|
|
export const updateFinalInput = (text) => ({ type: 'UPDATE_FINAL_INPUT', data:text})
|
2016-12-09 23:07:42 +01:00
|
|
|
export const clearInput = () => ({ type: 'CLEAR_INPUT'})
|
|
|
|
export const updateOriginalCompare = (text) => ({ type: 'UPDATE_ORIGINAL_COMPARE', data:text})
|
|
|
|
export const updateFinalCompare = (text) => ({ type: 'UPDATE_FINAL_COMPARE', data:text})
|
|
|
|
export const clearCompare = () => ({ type: 'CLEAR_COMPARE'})
|
2016-11-28 18:47:47 +01:00
|
|
|
export const setPlaintextFormat = () => ({ type: 'SET_PLAINTEXT_FORMAT'})
|
|
|
|
export const setMarkdownFormat = () => ({ type: 'SET_MARKDOWN_FORMAT'})
|
|
|
|
export const showOriginal = () => ({ type: 'SHOW_ORIGINAL'})
|
|
|
|
export const showFinal = () => ({ type: 'SHOW_FINAL'})
|
|
|
|
export const showDifference = () => ({ type: 'SHOW_DIFFERENCE'})
|
|
|
|
|