Skip to content

Instantly share code, notes, and snippets.

@uknick
Created August 15, 2017 15:51
Show Gist options
  • Save uknick/4de60656b7e9f9a1e803efb087465138 to your computer and use it in GitHub Desktop.
Save uknick/4de60656b7e9f9a1e803efb087465138 to your computer and use it in GitHub Desktop.
blank app
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<script>
var app = {
arr: [],
settings: null,
init: function() {
this.someFunc();
},
someFunc: function() {
console.log("someFunc");
}
};
document.addEventListener("DOMContentLoaded", function() {
app.init();
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment