src/js/defaults.js
branchnew-model
changeset 874 38b65761a7d5
parent 872 d777d05a16e4
child 875 43629caa77bc
equal deleted inserted replaced
872:d777d05a16e4 874:38b65761a7d5
     3 IriSP.libFiles = {
     3 IriSP.libFiles = {
     4     defaultDir : "js/libs/",
     4     defaultDir : "js/libs/",
     5     inDefaultDir : {
     5     inDefaultDir : {
     6         jQuery : "jquery.min.js",
     6         jQuery : "jquery.min.js",
     7         jQueryUI : "jquery-ui.min.js",
     7         jQueryUI : "jquery-ui.min.js",
     8         jQueryToolTip : "jquery.tools.min.js",
       
     9         swfObject : "swfobject.js",
     8         swfObject : "swfobject.js",
    10         cssjQueryUI : "jquery-ui.css",
     9         cssjQueryUI : "jquery-ui.css",
    11         popcorn : "popcorn.js",
    10         popcorn : "popcorn.js",
    12         jwplayer : "jwplayer.js",
    11         jwplayer : "jwplayer.js",
    13         raphael : "raphael.js",
    12         raphael : "raphael.js",
    20     locations : {
    19     locations : {
    21         // use to define locations outside defautl_dir
    20         // use to define locations outside defautl_dir
    22     },
    21     },
    23     cdn : {
    22     cdn : {
    24         jQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.js",
    23         jQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.js",
    25         jQueryToolTip : "http://cdn.jquerytools.org/1.2.4/all/jquery.tools.min.js",
       
    26         swfObject : "http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js",
    24         swfObject : "http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js",
    27         cssjQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/base/jquery-ui.css"
    25         cssjQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/base/jquery-ui.css"
    28     },
    26     },
    29     useCdn : false
    27     useCdn : false
    30 }
    28 }
    45     "TweetsWidget" : {
    43     "TweetsWidget" : {
    46         default_profile_picture : "https://si0.twimg.com/sticky/default_profile_images/default_profile_1_normal.png",
    44         default_profile_picture : "https://si0.twimg.com/sticky/default_profile_images/default_profile_1_normal.png",
    47         tweet_display_period : 10000 // how long do we show a tweet ?
    45         tweet_display_period : 10000 // how long do we show a tweet ?
    48     },
    46     },
    49     "SliderWidget" : {
    47     "SliderWidget" : {
    50         minimize_period : 850 // how long does the slider stays maximized after the user leaves the zone ?
    48         minimized_height : 4,
       
    49         maximized_height : 10,
       
    50         minimize_timeout : 1500 // time before minimizing slider after mouseout
    51     },
    51     },
    52     "SegmentsWidget" : {
    52     "SegmentsWidget" : {
    53         cinecast_version : false
    53         cinecast_version : false
    54     },
    54     },
    55     "createAnnotationWidget" : {
    55     "createAnnotationWidget" : {
   144                 "color" : "#036AAE"
   144                 "color" : "#036AAE"
   145             }
   145             }
   146         ],
   146         ],
   147         streamgraph : false
   147         streamgraph : false
   148     },
   148     },
   149     "PolemicNewWidget" : {
   149     "PolemicWidget" : {
   150         element_width : 5,
   150         element_width : 5,
   151         element_height : 5,
   151         element_height : 5,
   152         annotation_type : "tweet",
   152         annotation_type : "tweet",
   153         defaultcolor : "#585858",
   153         defaultcolor : "#585858",
   154         foundcolor : "#fc00ff",
   154         foundcolor : "#fc00ff",
   171             {
   171             {
   172                 "keywords" : [ "??" ],
   172                 "keywords" : [ "??" ],
   173                 "description" : "question",
   173                 "description" : "question",
   174                 "color" : "#036AAE"
   174                 "color" : "#036AAE"
   175             }
   175             }
       
   176         ],
       
   177         requires : [
       
   178             {
       
   179                 type: "TooltipWidget"
       
   180             }
   176         ]
   181         ]
   177     }
   182     }
   178 }
   183 }