stores various constants to reduce the use of magic numbers in the code
document.addEventListener("keypress", function(e){
var keys = gantt.constants.KEY_CODES;
if(e.keyCode === keys.ENTER){
// do on enter
}
});
stores various constants to reduce the use of magic numbers in the code. Currently stores only KEY_CODES object
Back to top