consul/website/source/javascripts/app/app.js

21 lines
235 B
JavaScript
Raw Normal View History

2014-02-08 00:41:03 +00:00
//
2014-04-05 09:03:01 +00:00
// app.js
2014-02-08 00:41:03 +00:00
//
2014-04-05 09:03:01 +00:00
var APP = (function() {
2014-02-08 00:41:03 +00:00
function initialize (){
2014-04-05 09:03:01 +00:00
APP.Utils.runIfClassNamePresent('page-home', initHome);
2014-02-08 00:41:03 +00:00
}
function initHome() {
2014-04-05 09:03:01 +00:00
APP.Homepage.init();
2014-02-08 00:41:03 +00:00
}
2014-04-05 09:03:01 +00:00
2014-02-08 00:41:03 +00:00
//api
return {
initialize: initialize
}
2014-04-05 09:03:01 +00:00
})();