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
import { | |
GET_ALL_POSTS, | |
GET_POSTS, | |
POST_POST, | |
PUT_POST, | |
DELETE_POST, | |
POST_VOTE_POST, | |
} from '../actions/ActionTypes'; | |
const INITIAL_STATE = { |
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
var data = JSON.stringify({ | |
"from": { | |
"type": "user", | |
"id": "gnujoow.kim@gmail.com" | |
}, | |
"body": "Hey" | |
}); | |
var xhr = new XMLHttpRequest(); | |
xhr.withCredentials = true; |
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
body { | |
box-sizing: border-box; | |
background: #fff; | |
font-family: "Roboto", sans-serif !important; | |
font-family: "Noto Sans KR", Hevetica, "Apple SD Gothic Neo", "애플 SD 산돌고딕 Neo", "맑은 고딕", "Malgun Gothic", Ngothic, Arial, sans-serif; | |
} | |
/* grid */ |
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
/* Code */ | |
code, | |
pre { | |
font-family: Menlo, Monaco, "Courier New", monospace; | |
} | |
code { | |
padding: .25em .5em; | |
font-size: 85%; | |
color: #bf616a; | |
background-color: #f9f9f9; |