added .eslintrc, .gitignore
This commit is contained in:
parent
7bd601f3f5
commit
a32767ca1a
25
.eslintrc.json
Normal file
25
.eslintrc.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"rules": {
|
||||
"indent": [
|
||||
"error",
|
||||
4
|
||||
],
|
||||
"linebreak-style": [
|
||||
"error",
|
||||
"unix"
|
||||
],
|
||||
"quotes": [
|
||||
"error",
|
||||
"double"
|
||||
],
|
||||
"semi": [
|
||||
"error",
|
||||
"always"
|
||||
]
|
||||
}
|
||||
}
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
vendor
|
@ -10,5 +10,5 @@ function gtag(){
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'UA-119564631-1');
|
||||
gtag("js", new Date());
|
||||
gtag("config", "UA-119564631-1");
|
||||
|
@ -1,4 +1,3 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
@ -21,4 +20,3 @@
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,4 +1,3 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
@ -23,4 +22,3 @@
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,4 +1,3 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Wyatt J. Miller - Home</title>
|
||||
<meta charset="utf-8" />
|
||||
@ -13,7 +12,7 @@
|
||||
<script src="analytics.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<?php require "header.php"; ?>
|
||||
<?php require_once "header.php"; ?>
|
||||
<div class="col-xs-12">
|
||||
<div class="main-section">
|
||||
<div class="main-background">
|
||||
@ -24,6 +23,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php require "footer.php"; ?>
|
||||
<?php require_once "footer.php"; ?>
|
||||
</body>
|
||||
</html>
|
@ -34,7 +34,8 @@ function whatTimeIsIt(){
|
||||
death.getHours()-12;
|
||||
} else {
|
||||
death.getHours();
|
||||
}}
|
||||
console.log(isPastNoon(), ":", death.getMinutes(), ":", death.getSeconds());
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
console.log(isPastNoon(), ":", death.getMinutes(), ":", death.getSeconds());
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
/* Imports */
|
||||
@import url('https://fonts.googleapis.com/css?family=Oswald|Pacifico|Ubuntu|Kavivanar');
|
||||
@import url('https://fonts.googleapis.com/css?family=Oswald|Pacifico|Kavivanar');
|
||||
|
||||
/* Global rules */
|
||||
/* Elements */
|
||||
|
@ -14,6 +14,27 @@ new Twitch.Embed("twitch-embed", {
|
||||
});
|
||||
|
||||
var follow = document.getElementById("twitch-follow");
|
||||
follow.addEventListener('click', function(user){
|
||||
follow.addEventListener("click", function() {
|
||||
//code goes here
|
||||
}, false);
|
||||
|
||||
/*
|
||||
var a = 42;
|
||||
var b = Number(a);
|
||||
console.log(a);
|
||||
console.log(b);
|
||||
|
||||
function foo(){
|
||||
this.bar = bar;
|
||||
this.foo = foo;
|
||||
console.log(foo, bar);
|
||||
}
|
||||
|
||||
var obj = {
|
||||
foo: "bar",
|
||||
bar: "foo"
|
||||
};
|
||||
|
||||
foo();
|
||||
new foo();
|
||||
*/
|
Loading…
Reference in New Issue
Block a user