Clean up some example JS code

This commit is contained in:
Patrick Smith 2018-08-03 13:16:31 -04:00
parent 1965d0fcc7
commit a5ee336fad
3 changed files with 6 additions and 10 deletions

4
js/example.js Normal file
View File

@ -0,0 +1,4 @@
window.onload = function() {
console.log('hello from example')
}

View File

@ -1,6 +1,5 @@
import classes from '../styles/atat.scss'
import './thing'
console.log('hellooooo')
import './example'
console.log('hello from index')

View File

@ -1,7 +0,0 @@
console.log('hanlo again')
window.onload = function() {
console.log('boop')
const thing = document.querySelector('#hello')
thing.innerHTML = 'hanlo friendo'
}