Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Cleaning up annotations methods in BaseViewer #272

Merged
merged 3 commits into from
Aug 3, 2017

Conversation

pramodsum
Copy link
Contributor

@pramodsum pramodsum commented Aug 2, 2017

Do NOT merge before #271

return;
}
showModeAnnotationButton(currentMode) {
const modes = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this out to a higher level constant. Doesn't need to be created every time we call this method

Copy link
Contributor Author

@pramodsum pramodsum Aug 3, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved this one level higher

@pramodsum pramodsum force-pushed the refactor_annotations branch from 806c8a7 to 039a75c Compare August 3, 2017 01:26
@pramodsum pramodsum force-pushed the refactor_annotations branch from 039a75c to dde7a57 Compare August 3, 2017 16:36
@pramodsum pramodsum force-pushed the refactor_annotations branch from dde7a57 to 2468a37 Compare August 3, 2017 17:08
@pramodsum pramodsum merged commit 6f319f6 into box:master Aug 3, 2017
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.

2 participants