Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change console.log for errors and warnings #1375

Merged
merged 1 commit into from
Jan 11, 2017

Commits on Jan 11, 2017

  1. Change console.log for errors and warnings

    Array.forEach is passed the following parameters:
    
    currentValue
        The current element being processed in the array.
    index
        The index of the current element being processed in the array.
    array
    - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach
    
    console.log takes multiple arguments. We only want to print the first one, the actually message.
    jimmyhmiller authored Jan 11, 2017
    Configuration menu
    Copy the full SHA
    d28eed2 View commit details
    Browse the repository at this point in the history