Created
August 5, 2013 12:11
-
-
Save Abdelkrim/6155469 to your computer and use it in GitHub Desktop.
how to call it inside the code: "debug('showAccessibleTabSelector')" src: http://www.youtube.com/watch?v=bntNYzCrzvE (minute 38:00)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//private methods | |
function debug(msg,info){ | |
if(debugMode && window.console && window.console.log){ | |
if (info){ | |
window.console.log(info+': ',msg); | |
} | |
else{ | |
window.console.log(msg); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment