added profile view

This commit is contained in:
Jeena Paradies 2012-11-28 01:56:15 +01:00
parent 0728d2e669
commit fa62ef3629
12 changed files with 539 additions and 68 deletions

View file

@ -87,6 +87,15 @@ define(function() {
}
}
HostApp.showProfileForEntity = function(entity) {
if (OS_TYPE == "mac") {
controller.showProfileForEntity_(entity);
} else {
controller.showProfileForEntity(entity);
}
}
HostApp.notificateUserAboutMention = function(text, name, post_id, entity) {
if (OS_TYPE == "mac") {
controller.notificateUserAboutMention_fromName_withPostId_andEntity_(text, name, post_id, entity);