Sha256: 93b7634a08683d1536dadc300a78e96355c7f60e24e4b14b886c6be3242a2895

Contents?: true

Size: 273 Bytes

Versions: 1

Compression:

Stored size: 273 Bytes

Contents

describe("L.LatLngUtil", function () {
	it("cloneLatLngs", function () {
		var latLngs = [{ lat: 0, lng: 0 }],
			clone = L.LatLngUtil.cloneLatLngs(latLngs);

		expect(clone[0].lat).to.eql(latLngs[0].lat);

		clone[0].lat = 10;
		expect(latLngs[0].lat).to.eql(0);
	});
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
leaflet-js-0.8.dev2 lib/leaflet.draw/spec/suites/LatLngUtilSpec.js