# Code coverage report for ./suites/SpecHelper.js

## Statements: 11.76% (2 / 17) Branches: 10% (1 / 10) Functions: 0% (0 / 2) Lines: 11.76% (2 / 17)

All files » ./suites/ » SpecHelper.js

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    261

    1

     function noSpecs() {
    	xit('has no specs');
    }

    Iif (!Array.prototype.map) {
      Array.prototype.map = function(fun /*, thisp */) {
        "use strict";

        if (this === void 0 || this === null)
          throw new TypeError();

        var t = Object(this);
        var len = t.length >>> 0;
        if (typeof fun !== "function")
          throw new TypeError();

        var res = new Array(len);
        var thisp = arguments[1];
        for (var i = 0; i < len; i++) {
          if (i in t)
            res[i] = fun.call(thisp, t[i], i, t);
        }

        return res;
      };
    }