Skip to content

Instantly share code, notes, and snippets.

@natecavanaugh
Last active December 24, 2015 18:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natecavanaugh/6842423 to your computer and use it in GitHub Desktop.
Save natecavanaugh/6842423 to your computer and use it in GitHub Desktop.
;(function(A) {
Liferay.on(
'chatPortletReady',
function(event) {
var Chat = Liferay.Chat;
Chat.ConversationPanel = Chat.Conversation;
Chat.Conversation = function(){
// code before constructor....
Chat.Conversation.superclass.constructor.apply(this, arguments);
// code after constructor...
};
A.extend(
Chat.Conversation,
Chat.ConversationPanel,
{
// custom methods
}
);
}
);
}(AUI()));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment