Subversion-Projekte lars-tiefland.cienc

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
9 lars 1
var ComponentsKnobDials = function () {
2
 
3
    return {
4
        //main function to initiate the module
5
 
6
        init: function () {
7
            //knob does not support ie8 so skip it
8
            if (!jQuery().knob || App.isIE8()) {
9
                return;
10
            }
11
 
12
            // general knob
13
            $(".knob").knob({
14
                'dynamicDraw': true,
15
                'thickness': 0.2,
16
                'tickColorizeValues': true,
17
                'skin': 'tron'
18
            });
19
        }
20
 
21
    };
22
 
23
}();
24
 
25
jQuery(document).ready(function() {
26
   ComponentsKnobDials.init();
27
});