public/javascripts/yui/event/event-debug.js
function(ev) {
                var code = ev.keyCode || ev.charCode || 0;

                // webkit key normalization
                if (YAHOO.env.ua.webkit && (code in webkitKeymap)) {
                    code = webkitKeymap[code];
                }
                return code;
            }
function(ev) {
                var code = ev.keyCode || ev.charCode || 0;

                // webkit key normalization
                if (YAHOO.env.ua.webkit && (code in webkitKeymap)) {
                    code = webkitKeymap[code];
                }
                return code;
            }
function ( ev ) { var code = ev . keyCode || ev . charCode || 0 ; // webkit key normalization if ( YAHOO . env . ua . webkit && ( code in webkitKeymap ) ) { code = webkitKeymap [ code ] ; } return code ; }
Returns the charcode for an event
@method getCharCode
@param {Event} ev the event
@return {int} the event's charCode
@static
Returns the charcode for an event