src/js/main.js
branchpopcorn-port
changeset 662 5e10069c5c21
parent 574 5770c64e2ec6
child 743 69a9969daa41
equal deleted inserted replaced
661:48c1beea7b1c 662:5e10069c5c21
    33       /* do nothing for html5 */
    33       /* do nothing for html5 */
    34     }       
    34     }       
    35     
    35     
    36     /* widget specific requirements */
    36     /* widget specific requirements */
    37     for (var idx in config.gui.widgets) {
    37     for (var idx in config.gui.widgets) {
    38       if (config.gui.widgets[idx].type === "PolemicWidget") {        
    38       if (config.gui.widgets[idx].type === "PolemicWidget" ||
       
    39           config.gui.widgets[idx].type === "StackGraphWidget") {        
    39         $L.script(libs.raphael);
    40         $L.script(libs.raphael);
    40       }
    41       }
    41 
    42 
    42       if (config.gui.widgets[idx].type === "SparklineWidget") {
    43       if (config.gui.widgets[idx].type === "SparklineWidget") {
    43         $L.script(libs.jquery_sparkline);
    44         $L.script(libs.jquery_sparkline);