Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
pinceladasdaweb committed Mar 16, 2016
2 parents 42aefea + d5cf868 commit fc3d391
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build/vcountdown.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "VCountdown",
"description": "Show how many characters remaining in a HTML with pure JavaScript",
"version": "0.0.2",
"version": "0.0.3",
"author": "Pedro Rogério",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"grunt": "~0.4.5",
"grunt-contrib-watch": "~0.6.1",
"grunt-contrib-uglify": "~0.9.2"
"grunt-contrib-watch": "~1.0.0",
"grunt-contrib-uglify": "~1.0.1"
},
"keywords": [
"countdown"
Expand Down
4 changes: 1 addition & 3 deletions src/vcountdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@
this.setMaxChars();
this.charsLen();

this.target.addEventListener('keyup', function () {
this.update();
}.bind(this), false);
this.target.addEventListener('keyup', this.update.bind(this), false);
}
};

Expand Down

0 comments on commit fc3d391

Please sign in to comment.