Merge branch 'master' into markercluster

Conflicts:
	src/view.map.js
This commit is contained in:
Dominik Moritz
2012-09-25 11:49:16 +01:00
6 changed files with 28 additions and 17 deletions

View File

@@ -74,7 +74,7 @@ test('query string', function () {
});
data.query({q: 'UK 6'}).then(function(out) {
equal(out.total, 1);
equal(out.total, 2); // the new regex support will find 2 hits
deepEqual(out.hits[0].id, 1);
});
});
@@ -234,7 +234,7 @@ test('query string', function () {
});
dataset.query({q: 'UK 6'}).then(function() {
equal(dataset.records.length, 1);
equal(dataset.records.length, 2);
deepEqual(dataset.records.models[0].id, 1);
});
});

View File

@@ -202,7 +202,7 @@ test('Popup - Custom', function () {
assertPresent(popup);
var text = popup.html();
ok((text.indexOf('<h3>3</h3>y: 6') != -1))
ok((text.indexOf('<h3>1</h3>y: 2') != -1))
view.remove();
});