angular-ui/ui-utils — pull request #150 by duncanbeevers (2013-12-19 13:20:46+00:00)
Title: Re-use common keysByCode data structure

Rather than create a new `keysByCode` mapping each time the `keypressHelper` factory is used, a common copy is lazily-instantiated the first time it's needed and is shared amongst all instances.