Skip to content

Commit

Permalink
Update README and copyright date.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Mauro committed Jan 20, 2014
1 parent dbc4563 commit 6ddf1d3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ recommend that a file or class name and description of purpose be included on
the same "printed page" as the copyright notice for easier identification within
third-party archives.

Copyright 2013 David Mauro
Copyright 2014 David Mauro

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Keypress is a robust keyboard input capturing Javascript utility
focused on input for games. For details and documentation, please
visit [http://dmauro.github.io/Keypress/](http://dmauro.github.io/Keypress/)

Copyright 2013 David Mauro
Copyright 2014 David Mauro
released under the Apache License, version 2.0


Expand All @@ -15,13 +15,14 @@ released under the Apache License, version 2.0

2.0.0

* Keypress now has a listener class that must be instantiated.
* Each instance of a Keypress listener can be bound to a DOM element.
* Keypress now has a listener class that must be instantiated. The functions that were previously in the global window.keypress object are now public methods of the window.keypress.Listener class.
* Each instance of a Keypress listener can be bound to a DOM element by passing in the element to the listener's constructor.
* Combos now default to being ordered (the property is now called is_unordered and is false by default).
* Combos' handlers preventDefault unless the handler returns true.
* The "combo" public method is now called "simple_combo".
* The basic combo helpers for simple, counting and sequence combos no longer have a third prevent_default optional parameter.
* Debugging console logs can be enabled by setting keypress.debug to true.
* All key event callbacks send a third argument specifying whether the event is firing again automatically because the key has remained pressed down.

1.0.9

Expand Down
2 changes: 1 addition & 1 deletion coffee-compiler.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
VERSION="2.0.0"
YEAR="2013"
YEAR="2014"
cd "$( cd "$( dirname "$0" )" && pwd )"
coffee -c keypress.coffee
java -jar compiler.jar --js keypress.js --js_output_file keypress-$VERSION.min.js
Expand Down
2 changes: 1 addition & 1 deletion keypress-2.0.0.min.js

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

2 changes: 1 addition & 1 deletion keypress.coffee
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###
Copyright 2013 David Mauro
Copyright 2014 David Mauro
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion keypress.js

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

0 comments on commit 6ddf1d3

Please sign in to comment.