jQuery( document ).ready( function ( $ ) { 'use strict'; /* |-------------------------------------------------------------------------- | Developer mode |-------------------------------------------------------------------------- | | Set to true - it will allow printing in the console. Alsways check for this | variables when running tests so you dont forget about certain console.logs. | Id needed for development testing this variable should be used. | */ const devMode = function() { return true; }; // Disable console.log for production site. if ( ! devMode() ) { console.log = function() {}; } });