Administrator
2023-04-17 63fbfddabe08e353ad75e495c2ac8dc5203da88c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
Custom module for you to write your own javascript functions
**/
var Custom = function () {
 
    // private functions & variables
 
    var myFunc = function(text) {
        alert(text);
    }
 
    // public functions
    return {
 
        //main function
        init: function () {
            //initialize here something.            
        },
 
        //some helper function
        doSomeStuff: function () {
            myFunc();
        }
 
    };
 
}();
 
/***
Usage
***/
//Custom.init();
//Custom.doSomeStuff();