Skip to content

Commit

Permalink
remove some console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bradjc committed May 14, 2016
1 parent b9efda3 commit 9d04db9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions chezbetty/static/js/chezbetty-terminal-keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,10 @@ function process_input () {
var keyin = keyboard_input;
keyboard_input = '';

console.log('keboard input: ' + keyin)


if (keyin.slice(0, 3) == "%B6") {
// This looks like an M-Card
var umid = keyin.slice(8, 16);

console.log('got umid ' + umid);

// Ignore MCard input while the splash screen is live
if ($('#splash').is(':visible')) {
return;
Expand All @@ -42,7 +37,6 @@ function process_input () {
// as one string.
var dollars = keyin.slice(keyin.length-3, keyin.length);

console.log(dollars)
if (dollars == 'BEG') {
start_deposit();
} else {
Expand All @@ -51,11 +45,9 @@ function process_input () {
}

} else {
console.log('barcode')
// Well, this must be a barcode scan
if (keyin.length > 1) {
var barcode = keyin.slice(0, keyin.length-1);
console.log(barcode)
add_item(barcode);
}
}
Expand Down

0 comments on commit 9d04db9

Please sign in to comment.