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

Code refactoring for jquery efficiency and organization #7

Merged
merged 37 commits into from
Sep 12, 2017

Conversation

p-somers
Copy link
Contributor

"let" is preferred in ES6 because it forces block scope instead of function scope.

It can prevent some confusing bugs as a result.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let#Block_scope_with_let
# Conflicts:
#	src/js/components/story.js
#	src/js/components/task.js
#	src/js/components/team.js
#	src/js/components/teampicker.js
# Conflicts:
#	src/nodejs/app.js
# Conflicts:
#	src/js/components/teampicker.js
# Conflicts:
#	src/js/components/board.js
#	src/js/components/editStoryModal.js
#	src/js/components/story.js
#	src/nodejs/app.js
-Moving functionality from app.js to individual controllers
-Adding heirarchy to API (i.e. /teams/:teamId/people/:personId)
-Rest api best practices:
    -singular -> plural
    -remove unnecessary verbs in endpoints

Front end:
-Use new endpoints
-reverting arrow function to anonymous function so "this" will properly refer to mocha
-increasing test timeout so wdio, selenium, and the browser can connect
-Beginning to properly set up test context
-Placing webdriverio config options "baseUrl" into the right spot and adding "logLevel"
-Adding "logLevel" to config file
-Manually entering changes from David's commit here:
DiZy@e7f19a3?diff=unified
…two different files. This is more in line with express 4, and it allows tests to start their own server with a test database, or run unit/integration tests against the app itself, independent of the server.
…to resolve the merge conflict with the main repo
…to resolve the merge conflict with the main repo
@DiZy DiZy changed the title Improving jquery selector efficency Code refactoring for jquery efficiency and organization Sep 12, 2017
@DiZy DiZy merged commit 22e767e into DiZy:master Sep 12, 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.

None yet

2 participants