stsquad/emacs_chrome — pull request #59 by walkermatt (2012-06-20 08:39:41+00:00)
Title: Add debug setting and suppress console.log when debug not enabled

The enable_debug option is presented in the settings page under the Test
tab. Set to false by default which suppresses the console.log messages.

The console.log messages are suppressed by decorating the console.log
function to include a check to see if the enable_debug option is true
before logging.

As requested this is a single commit with only functional changes.

Cheers,

Matt.