src/js/widgets.js
branchpopcorn-port
changeset 835 a8af9da7c622
parent 830 18ca612e9ff0
child 842 4ae2247a59f4
equal deleted inserted replaced
834:573c7ca752e0 835:a8af9da7c622
    52   if (config.hasOwnProperty("layoutManager")) {
    52   if (config.hasOwnProperty("layoutManager")) {
    53      this.layoutManager = config.layoutManager;
    53      this.layoutManager = config.layoutManager;
    54   }
    54   }
    55   if (typeof this.selector != "undefined") {
    55   if (typeof this.selector != "undefined") {
    56       this.selector.addClass("Ldt-TraceMe").addClass("Ldt-Widget");
    56       this.selector.addClass("Ldt-TraceMe").addClass("Ldt-Widget");
       
    57       this.selector.attr("widget-type", this._config.type);
    57   }
    58   }
    58   
    59   
    59 };
    60 };
    60 
    61 
    61 // This functions checks for configuration options
    62 // This functions checks for configuration options