Uploaded image for project: 'PhenoTips'
  1. PT-3356

Add a console stub for browsers which do not support it

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects versions: None
    • Fix versions: 1.5
    • Components: None
    • Labels:
      None
    • Sprint:

      Description

      ...since `console.log(...)` is the only easy way to log legitimate errors in JavaScript. Also developers may forget to remove all unnecessary logs and reviewers sometimes miss that, resulting in a silent failure on IE9 which we don't always use for testing (yet plan to support, for now)

      `.log()`, `.warn()` and `.error()` should be stubbed

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                asm Andrew Misyura
                Reporter:
                asm Andrew Misyura
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: