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

Refactor files.js into FilesController. #330

Merged
merged 1 commit into from
Feb 9, 2016
Merged

Conversation

nlutsenko
Copy link
Contributor

Nicer structure, get rid of globals, follow-up PR from #315.

@gnz00
Copy link

gnz00 commented Feb 9, 2016

While you're at it, any opposition to moving all the handlers or controllers into a sub directory, starting with this one?

@nlutsenko
Copy link
Contributor Author

Yup, no opposition, good idea, moving to src/Controllers.

@@ -0,0 +1,95 @@
// files.js
Copy link
Contributor

Choose a reason for hiding this comment

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

Comment no longer true. ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice catch.

@facebook-github-bot
Copy link

@nlutsenko updated the pull request.

@nlutsenko
Copy link
Contributor Author

Updated with ES6 import style and updated the comment.

@facebook-github-bot
Copy link

@nlutsenko updated the pull request.

@gfosco gfosco assigned nlutsenko and unassigned gfosco Feb 9, 2016
nlutsenko added a commit that referenced this pull request Feb 9, 2016
Refactor files.js into FilesController.
@nlutsenko nlutsenko merged commit 3072782 into master Feb 9, 2016
@nlutsenko nlutsenko deleted the nlutsenko.es6.adapters branch February 9, 2016 23:02
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.

4 participants