Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.44 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.44 KB

ChatJS

ChatJS is a full-featured, lightweight, Facebook style jQuery plugin for instant messaging. ChatJS is divided into two parts: jquery.chatjs.js, which is the actual plug-in, and an adapter, which implements the communication between the client and the server. ChatJS comes with an adapter for ASP.NET SignalR, and another one using long-polling, which is intended to be server independent, that is, it will work as long as you implement the proper server-side endpoints. ChatJS sample project works with both adapters.

Dependencies

ChatJS depends on jQuery and two jQuery plugins, Autosize and Activity-indicator:

<script src="/Scripts/jquery-1.8.1.min.js" type="text/javascript"></script>
<script src="/ChatJs/Scripts/jquery.autosize.min.js" type="text/javascript"></script>
<script src="/ChatJs/Scripts/jquery.activity-indicator-1.0.0.min.js" type="text/javascript"></script>

About the adapter