From 5d8961d1754b48800c9ee6f6150f36d8278f730b Mon Sep 17 00:00:00 2001 From: Igor Oleinikov Date: Fri, 20 Dec 2013 14:14:06 +0400 Subject: [PATCH] titanium: fixed tests --- titanium/titanium-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/titanium/titanium-tests.ts b/titanium/titanium-tests.ts index 3899824c7..a4057b80c 100644 --- a/titanium/titanium-tests.ts +++ b/titanium/titanium-tests.ts @@ -111,7 +111,7 @@ function test_map() { mapview.regionFit = true; mapview.userLocation = true; mapview.annotations = [mountainView]; - mapview.addEventListener('click', function(evt) { + mapview.addEventListener('click', function(evt?) { if (evt.clicksource === 'leftButton' || evt.clicksource === 'leftPane') { alert(evt.title + ' left button clicked'); }