Javascript Capacity Test
This is an application designed to test and prove a javascript developer capabilities.
Use node.js to launch a local server. The application has several bugs in javascript code.
In order to complete the test, you must make a fork of this repository, and then submit a pull request with the code mistakes solved.
Each of the mistakes needs to be commited in a single commit, so your fork must have 6 commits on it.
The time between the fork and the pull request, is going to be considered as well the solutions/fixes proposed. Comments on commits with explanation of the issue and the solution would be considered as well.
Of course you can cheat with times, but is up to you being honest with yourself.
Instructions:
- Install node.js ( http://nodejs.org/ )
- Install project dependencies ( npm install )
- Fork the project and clone it in your local git repository
- Launch the grunt server (it will start listening to localhost:3000; every time you change a file, the browser will automatically refresh the page)
- Fix the code errors
- Send a pull request with the code fixed.
These are the errors which make the application non functional:
- a syntaxis error makes the application crash
- adding a todo item causes an error to be shown in the console
- destroying a todo causes an error to be shown in the console, but the todo disappears when the page get refreshed
- when you try to complete a task, it counts in the "items left" counter, but it doesn't get marked as completed
- the left item count shows incorrect number
- the clear completed button doesn't work