Skip to content

Added optional parameter $.mockJSON.log to turn off console.log#7

Open
johnpapa wants to merge 1 commit into
mennovanslooten:masterfrom
johnpapa:master
Open

Added optional parameter $.mockJSON.log to turn off console.log#7
johnpapa wants to merge 1 commit into
mennovanslooten:masterfrom
johnpapa:master

Conversation

@johnpapa
Copy link
Copy Markdown

This allows us to turn off console.log, which can get messy.

    if ($.mockJSON.log) {
        console.log(key);
        console.log(params);
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants