src/js/defaults.js
branchnew-model
changeset 874 38b65761a7d5
parent 872 d777d05a16e4
child 875 43629caa77bc
--- a/src/js/defaults.js	Thu Apr 19 19:20:41 2012 +0200
+++ b/src/js/defaults.js	Fri Apr 20 19:13:11 2012 +0200
@@ -5,7 +5,6 @@
     inDefaultDir : {
         jQuery : "jquery.min.js",
         jQueryUI : "jquery-ui.min.js",
-        jQueryToolTip : "jquery.tools.min.js",
         swfObject : "swfobject.js",
         cssjQueryUI : "jquery-ui.css",
         popcorn : "popcorn.js",
@@ -22,7 +21,6 @@
     },
     cdn : {
         jQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.js",
-        jQueryToolTip : "http://cdn.jquerytools.org/1.2.4/all/jquery.tools.min.js",
         swfObject : "http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js",
         cssjQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/base/jquery-ui.css"
     },
@@ -47,7 +45,9 @@
         tweet_display_period : 10000 // how long do we show a tweet ?
     },
     "SliderWidget" : {
-        minimize_period : 850 // how long does the slider stays maximized after the user leaves the zone ?
+        minimized_height : 4,
+        maximized_height : 10,
+        minimize_timeout : 1500 // time before minimizing slider after mouseout
     },
     "SegmentsWidget" : {
         cinecast_version : false
@@ -146,7 +146,7 @@
         ],
         streamgraph : false
     },
-    "PolemicNewWidget" : {
+    "PolemicWidget" : {
         element_width : 5,
         element_height : 5,
         annotation_type : "tweet",
@@ -173,6 +173,11 @@
                 "description" : "question",
                 "color" : "#036AAE"
             }
+        ],
+        requires : [
+            {
+                type: "TooltipWidget"
+            }
         ]
     }
 }
\ No newline at end of file