code fixed

This commit is contained in:
Vladimir Enchev
2015-10-16 10:04:32 +03:00
parent 1e0047385a
commit 768660327e

View File

@ -63,7 +63,7 @@ export function createPage() {
}); });
tapLabel.on(gestures.GestureTypes.tap, function (args: gestures.GestureEventData) { tapLabel.on(gestures.GestureTypes.tap, function (args: gestures.GestureEventData) {
tapLabel.text = "Tap gesture detected, " + (args.object === tapLabelB); tapLabel.text = "Tap gesture detected, " + (args.object === tapLabel);
}); });
var observer1 = tapLabel.getGestureObservers(gestures.GestureTypes.tap)[0]; var observer1 = tapLabel.getGestureObservers(gestures.GestureTypes.tap)[0];