web/res/js-tweetcast/live-polemic.js
changeset 507 7f7fdf4eb06c
parent 501 a5ce7d08e4f8
child 506 f7fd2458fc5c
equal deleted inserted replaced
487:323b5f770fa0 507:7f7fdf4eb06c
    46 }
    46 }
    47 
    47 
    48 if (typeof max_pages == "undefined" || !max_pages) {
    48 if (typeof max_pages == "undefined" || !max_pages) {
    49     max_pages = 5;
    49     max_pages = 5;
    50 }
    50 }
       
    51 
       
    52 tracking_keywords = _(tracking_keywords).map(function(_w) {
       
    53     return _w.toLowerCase();
       
    54 });
    51 
    55 
    52 var twCx = {
    56 var twCx = {
    53         tlPaper : null,
    57         tlPaper : null,
    54         followLast : true,
    58         followLast : true,
    55         position : "0",
    59         position : "0",
  1039         }).join("\n");
  1043         }).join("\n");
  1040     document.location.href = "data:text/csv;base64," + btoa(_csvtxt);
  1044     document.location.href = "data:text/csv;base64," + btoa(_csvtxt);
  1041 }
  1045 }
  1042 
  1046 
  1043 $(document).ready(function() {
  1047 $(document).ready(function() {
       
  1048     twCx.tlWidth = $("#timeline").width();
       
  1049     twCx.tlHeight = $("#timeline").height();
  1044     twCx.tlPaper = Raphael("timeline", twCx.tlWidth, twCx.tlHeight);
  1050     twCx.tlPaper = Raphael("timeline", twCx.tlWidth, twCx.tlHeight);
  1045     
  1051     
  1046     connectTweets();
  1052     connectTweets();
  1047     
  1053     
  1048     var html = '';
  1054     var html = '';