-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Refactor files.js into FilesController. #330
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
Conversation
03ba962 to
69593b8
Compare
|
While you're at it, any opposition to moving all the handlers or controllers into a sub directory, starting with this one? |
69593b8 to
cee2d26
Compare
|
Yup, no opposition, good idea, moving to |
cee2d26 to
c2e7b53
Compare
src/Controllers/FilesController.js
Outdated
| @@ -0,0 +1,95 @@ | |||
| // files.js | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment no longer true. ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch.
|
@nlutsenko updated the pull request. |
c2e7b53 to
53b2d4e
Compare
|
Updated with ES6 import style and updated the comment. |
|
@nlutsenko updated the pull request. |
Refactor files.js into FilesController.
Nicer structure, get rid of globals, follow-up PR from #315.