Skip to content

Commit

Permalink
Remove console statements
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjoDiaz committed Jan 30, 2018
1 parent 609a3fa commit a003535
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app/webutil.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ export function initSettings (callback /*, ...callbackArgs */) {
if (window.chrome && window.chrome.storage) {
window.chrome.storage.sync.get(function (cfg) {
settings = cfg;
console.log(settings);
if (callback) {
callback.apply(this, callbackArgs);
}
Expand All @@ -132,7 +131,6 @@ export function initSettings (callback /*, ...callbackArgs */) {
export function writeSetting (name, value) {
"use strict";
if (window.chrome && window.chrome.storage) {
//console.log("writeSetting:", name, value);
if (settings[name] !== value) {
settings[name] = value;
window.chrome.storage.sync.set(settings);
Expand Down
3 changes: 2 additions & 1 deletion core/base64.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

/*jslint white: false */
/*global console */
import * as Log from './util/logging.js';

export default {
/* Convert data (an array of integers) to a Base64 string. */
Expand Down Expand Up @@ -82,7 +83,7 @@ export default {
var padding = (data.charAt(i) === base64Pad);
// Skip illegal characters and whitespace
if (c === -1) {
console.error("Illegal character code " + data.charCodeAt(i) + " at position " + i);
Log.Error("Illegal character code " + data.charCodeAt(i) + " at position " + i);
continue;
}

Expand Down
2 changes: 1 addition & 1 deletion core/input/keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Keyboard.prototype = {
this._pendingKey = null;

if (!keysym) {
console.log('keypress with no keysym:', e);
Log.Info('keypress with no keysym:', e);
return;
}

Expand Down

0 comments on commit a003535

Please sign in to comment.