Skip to content

Conversation

@dev-dongwon
Copy link

STEP 5-3 : MIgration ES6 Classes and add undo, redo methods

참가자

TUNA, YM

개선 내용

prototype pattern을 class로 바꾼 후, undo와 redo 메서드를 추가

rename getCommandArrayByRegexp to getCmdList
인자 개수로 1개 초과  나올 경우 즉시 종료 후 프로그램 다시 실행
외부 변수에 접근하지 않고 객체를 인자로 받을 수 있도록 변경
상수 99999 제거 후, max 값과 min 값으로 random 넘버 생성
async function to update objcet
add the Promise function to delay the function
add cmdArr, commandParser, utils, instruction, customException module Obejct
Instruction 생성 시 utils, customException 객체 생성 되도록 추가
생성자에서 max 값과 min 값을 받을 수 있도록 수정
prototype pattern to class
@dev-dongwon dev-dongwon deleted the step5-3 branch April 29, 2019 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant