If OpenAjax is available, publishes to OpenAjax.hub. Always adds the shortName.event.
// publishes contact.completed Namespace.Contact.publish("completed",contact);
$.Model.publish(event, data) -> undefined
{String}
The event name to publish
{Object}
The data to publish
{undefined}
If OpenAjax is available, publishes to OpenAjax.hub. Always adds the shortName.event.