pageFunctions
var pageFunctions = {
init: function() {
var pageScreen = document.body.id;
if (pageFunctions[pageScreen]) {
$(document).ready(function() {
pageFunctions[pageScreen]();
});
}
},
HOME: function() {
// Home page scripts
}
};
pageFunctions.init();