Skip to content

Commit

Permalink
Fixing audio loop
Browse files Browse the repository at this point in the history
  • Loading branch information
blaines committed Jul 13, 2010
1 parent 3ebf484 commit 66981c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var CONFIG, Util, addMessage, first_poll, longPoll, nicks, onConnect, outputUsers, rss, scrollDown, send, showChat, showConnect, showLoad, starttime, transmission_errors, updateRSS, updateTitle, updateUptime, updateUsersLink, userJoin, userPart, util, who, TITLE;
var CONFIG, Util, addMessage, first_poll, longPoll, nicks, onConnect, outputUsers, rss, scrollDown, send, showChat, showConnect, showLoad, starttime, transmission_errors, updateRSS, updateTitle, updateUptime, updateUsersLink, userJoin, userPart, util, who, TITLE, TMP;
var __hasProp = Object.prototype.hasOwnProperty;
CONFIG = {
debug: false,
Expand All @@ -12,6 +12,7 @@ CONFIG = {
unread: 0
//updated in the message-processing loop
};
TMP = {};
nicks = [];
Date.prototype.toRelativeTime = function(now_threshold) {
var _a, conversions, delta, key, units, value;
Expand Down Expand Up @@ -195,7 +196,7 @@ longPoll = function(data) {
}
//process any updates we may have
//data will be null on the first call of longPoll
if (data && data.messages) {
if (data && data.messages && data.messages.length > 0) {
_b = data.messages;
for (_a = 0, _c = _b.length; _a < _c; _a++) {
message = _b[_a];
Expand Down

0 comments on commit 66981c3

Please sign in to comment.