Showing 1 of 3 files from the diff.

@@ -33,18 +33,22 @@
Loading
33 33
      verbose: settings.verbose
34 34
    })
35 35
36 -
    function onerror(err) {
37 -
      var code = err.code
36 +
    function onerror(error) {
37 +
      var code = error.code
38 38
      var name = camelcase(code)
39 39
      var setting = settings[name]
40 40
      var config = setting === undefined || setting === null ? true : setting
41 41
      var level = typeof config === 'number' ? config : config ? 1 : 0
42 42
      var start = {
43 -
        line: err.startLine,
44 -
        column: err.startCol,
45 -
        offset: err.startOffset
43 +
        line: error.startLine,
44 +
        column: error.startCol,
45 +
        offset: error.startOffset
46 +
      }
47 +
      var end = {
48 +
        line: error.endLine,
49 +
        column: error.endCol,
50 +
        offset: error.endOffset
46 51
      }
47 -
      var end = {line: err.endLine, column: err.endCol, offset: err.endOffset}
48 52
      var info
49 53
      var message
50 54
@@ -68,12 +72,12 @@
Loading
68 72
69 73
      function char($0, $1) {
70 74
        var offset = $1 ? -parseInt($1, 10) : 0
71 -
        var char = doc.charAt(err.startOffset + offset)
75 +
        var char = doc.charAt(error.startOffset + offset)
72 76
        return char === '`' ? '` ` `' : char
73 77
      }
74 78
75 79
      function encodedChar() {
76 -
        var char = doc.charCodeAt(err.startOffset).toString(16).toUpperCase()
80 +
        var char = doc.charCodeAt(error.startOffset).toString(16).toUpperCase()
77 81
78 82
        return '0x' + char
79 83
      }
Files Coverage
packages 100.00%
Project Totals (4 files) 100.00%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading