Replace knownEvents modules with static strings.

This commit is contained in:
Nedyalko Nikolov
2015-04-23 15:47:56 +03:00
parent 8023390692
commit 95ca8d9c8c
101 changed files with 520 additions and 471 deletions

View File

@ -36,7 +36,7 @@ export function createPage() {
mainStackLayout.addChild(childStackLayout);
for (var j = 0; j < buttonsPerRow; j++) {
button = new buttonModule.Button();
button.on(buttonModule.knownEvents.tap, function (data) {
button.on(buttonModule.Button.tapEvent, function (data) {
trace.write("eventName=" + data.eventName + " object=" + data.object, trace.categories.Test, trace.messageType.info);
});
button.text = "" + i + j;