Skip to content

Commit

Permalink
fixed content script; safari now properly gets events (now just need …
Browse files Browse the repository at this point in the history
…get the gesture algorithm working better, which we are...)
  • Loading branch information
azinman authored and jeremylightsmith committed Mar 8, 2011
1 parent a089989 commit 46b1fac
Showing 1 changed file with 4 additions and 3 deletions.
Expand Up @@ -32,6 +32,7 @@ var DepthJS = {
panner: {},
depthose: {},
browser: {},
tabs: {},
MAX_HANDPLANE_WIDTH: 100,
MAX_HANDPLANE_HEIGHT: 100
};
Expand All @@ -52,16 +53,16 @@ function print() {
counts[msg.type] = counts[msg.type] + 1;
lastByType[msg.type] = msg.data;
});

var alphabeticalKeys = _.keys(counts).sort();
console.log("------" + (new Date() + ""));
_.each(alphabeticalKeys, function(type) {
console.log([" " + counts[type] + " " + type + "; last = ", lastByType[type]]);
});

lastMessages = [];
}
setTimeout(print, 1000);

})();
}
}

0 comments on commit 46b1fac

Please sign in to comment.