mirror of https://github.com/hashicorp/consul
21 lines
235 B
JavaScript
21 lines
235 B
JavaScript
![]() |
//
|
||
![]() |
// app.js
|
||
![]() |
//
|
||
|
|
||
![]() |
var APP = (function() {
|
||
![]() |
|
||
|
function initialize (){
|
||
![]() |
APP.Utils.runIfClassNamePresent('page-home', initHome);
|
||
![]() |
}
|
||
|
|
||
|
function initHome() {
|
||
![]() |
APP.Homepage.init();
|
||
![]() |
}
|
||
![]() |
|
||
![]() |
//api
|
||
|
return {
|
||
|
initialize: initialize
|
||
|
}
|
||
|
|
||
![]() |
})();
|