HaebinLog
slow, but steady
-
20201213_TIL
오늘 한 일 pTimeline.pug 및 해당 css, js 파일 수정 완료 messenger.pug 및 해당 css, js 수정 중. fbHeader.pug alarm count 작성 필요.
-
20201212_TIL
오늘 한 일 profile.pug, timeline.pug, pFriend.pug 및 해당 css, js 파일 수정 완료 messenger.pug, pTimeline.pug 및 해당 css, js 수정 중 스크롤 이벤트를 업/다운으로 구분해서 처리해주고 싶을 때 scrollTop method를 활용할 수 있다. let prevScrollTop = 0; const target = document.getElementById('target'); window.addEventListener('scroll', () => { const scrollTop = target.scrollTop(); if(scrollTop...
-
20201209_TIL
오늘 한 일 pPhoto.pug 및 해당 css, js 파일 수정 완료 messenger.pug, profile.pug, timeline.pug 및 해당 css, js 수정 중
-
20201208_TIL
오늘 한 일 messenger.js, messenger.pug, profile.pug, profile.js 수정 중
-
20201207_TIL
오늘 한 일 timeline.pug 및 timeline.js 수정 완료. messenger.js 및 messenger.pug 수정 중 npm update, npm outdated 프로젝트의 패키지들은 서로 dependency 관계가 얽혀있는 경우가 많아서 함부로 업데이트를 했다가는 프로그램이 작동하지 않는 불상사가 생기기도 한다. 이 때는 npm outdated 명령어를 통해 현재 버전, package.json에 ^ 혹은 -로 명시된 안전한 선에서의 최신...