powerdns-admin/app/static/admin/pages/scripts/custom.js

33 lines
553 B
JavaScript
Raw Normal View History

2015-12-13 09:34:12 +00:00
/**
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();