Created
April 3, 2018 06:31
-
-
Save goofmint/4539c3169169286c2177a8ce3a24416c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener('init', (event) => { | |
const page = event.target; | |
switch (page.id) { | |
case 'app': | |
h5.core.controller('body', helloController, { | |
data: { | |
options: { | |
time: new Date() | |
}, | |
page: page | |
} | |
}); | |
break; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment