Browse files

* Various small fixes; replacing the doc pdf with a link.

  • Loading branch information...
1 parent 0027d6a commit cb35ffa2187bea7471070f9da251b1ee63ed7768 @audreyt committed Nov 19, 2009
Showing with 5 additions and 5 deletions.
  1. BIN docs/hopscotch-yapctiny.pdf
  2. +1 −0 docs/hopscotch-yapctiny.txt
  3. +1 −1 multiplayer.js
  4. +1 −2 multiserver.pl
  5. +2 −2 socialcalc-3.js
View
BIN docs/hopscotch-yapctiny.pdf
Binary file not shown.
View
1 docs/hopscotch-yapctiny.txt
@@ -0,0 +1 @@
+http://pugs.blogs.com/talks/hopscotch-yapctiny.pdf
View
2 multiplayer.js
@@ -114,7 +114,7 @@
var event = eval('(' + payload + ')');
onNewEvent(event);
});
- s.load('/chat/sc/mxhrpoll?session=' + Math.random());
+ s.load('/chat/sc/mxhrpoll');
} else {
$.ev.handlers['*'] = onNewEvent;
$.ev.loop('/chat/sc/poll?session=' + Math.random());
View
3 multiserver.pl
@@ -36,8 +36,7 @@ package ChatMultipartPollHandler;
sub get {
my($self, $channel) = @_;
- my $session = $self->request->param('session')
- or Tatsumaki::Error::HTTP->throw(500, "'session' needed");
+ my $session = $self->request->param('session') || rand(1);
$self->multipart_xhr_push(1);
View
4 socialcalc-3.js
@@ -1082,7 +1082,7 @@ SocialCalc.CanonicalizeSheet = function(sheetobj, full) {
SocialCalc.EncodeCellAttributes = function(sheet, coord) {
- var value, i, b, bb;
+ var value, i, b, bb, parts;
var result = {};
var InitAttrib = function(name) {
@@ -1414,7 +1414,7 @@ SocialCalc.DecodeCellAttributes = function(sheet, coord, newattribs, range) {
// borders: bX for X = t, r, b, and l; bXthickness, bXstyle, bXcolor ignored
- for (i=0; i<4; i++) {
+ for (var i=0; i<4; i++) {
b = "trbl".charAt(i);
bb = "b"+b;
CheckChanges(bb, sheet.borderstyles[cell[bb]], bb);

0 comments on commit cb35ffa

Please sign in to comment.