Sha256: a1734cd77864f15bb092b662fb497c8192bc135b2b81d378021085d23e54501d

Contents?: true

Size: 603 Bytes

Versions: 3

Compression:

Stored size: 603 Bytes

Contents

function noSpecs() {
	xit('should have specs', function() {
		expect('specs').toBe();
	});
}

if (!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;
  };
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
leaflet-ruby-0.3.beta4 lib/leaflet/spec/suites/SpecHelper.js
leaflet-ruby-0.3.beta3 lib/leaflet/spec/suites/SpecHelper.js
leaflet-ruby-0.3.beta1 lib/leaflet/spec/suites/SpecHelper.js