Skip to content

Instantly share code, notes, and snippets.

View gnujoow's full-sized avatar
👋

KIM, WOOJUNG gnujoow

👋
View GitHub Profile
@gnujoow
gnujoow / postRedux.js
Created November 17, 2017 12:42
postRedux
import {
GET_ALL_POSTS,
GET_POSTS,
POST_POST,
PUT_POST,
DELETE_POST,
POST_VOTE_POST,
} from '../actions/ActionTypes';
const INITIAL_STATE = {
var data = JSON.stringify({
"from": {
"type": "user",
"id": "gnujoow.kim@gmail.com"
},
"body": "Hey"
});
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
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 */
/* Code */
code,
pre {
font-family: Menlo, Monaco, "Courier New", monospace;
}
code {
padding: .25em .5em;
font-size: 85%;
color: #bf616a;
background-color: #f9f9f9;