Luke Childs
|
45906fca0b
|
variable space optimisations
Uglify.js will optimise these even further
|
8 years ago |
Luke Childs
|
268af94be4
|
No need to save heartEl
|
8 years ago |
Luke Childs
|
588e6b22f5
|
Inject menu button for hearted nodes
|
8 years ago |
Luke Childs
|
df37aadadf
|
Refactor favourite node code to be more readable
|
8 years ago |
Luke Childs
|
7bdba5bfc5
|
Refactor feature tester into class
|
8 years ago |
Luke Childs
|
65f82a1801
|
Add feature detection test for classList
|
8 years ago |
Luke Childs
|
9b1e1febee
|
Add feature detection test for document.querySelector
|
8 years ago |
Luke Childs
|
a1d1cdc89d
|
Refactor feature detection code
|
8 years ago |
Luke Childs
|
a360ff5a93
|
Store active class in variable
|
8 years ago |
Luke Childs
|
266c515f94
|
Check heart status by localStorage not class
|
8 years ago |
Luke Childs
|
cccb84f077
|
Show hearted nodes
|
8 years ago |
Luke Childs
|
a014e9ec0e
|
Add heart to DOM before adding click event
If DOM is already ready we should add the heart to DOM ASAP to reduce lag
|
8 years ago |
Luke Childs
|
c6fbf0b7c5
|
Remove unused var
|
8 years ago |
Luke Childs
|
e60c74a9ce
|
Save hearted nodes
|
8 years ago |
Luke Childs
|
faa96cb69b
|
Add basic click handler
|
8 years ago |
Luke Childs
|
cfdb8ead60
|
Refactor JS
Make DOM ready code reusable and send SVG XHR before DOM is ready, we only need to wait for the DOM to inject the elem.
|
8 years ago |
Luke Childs
|
107520961d
|
Add heart svg if favourite node requirements are met
|
8 years ago |
Luke Childs
|
425cd294a9
|
Un es6ify :(
|
8 years ago |
Luke Childs
|
3c17c82290
|
Add inline SVG feature detection
|
8 years ago |
Luke Childs
|
640639412c
|
Add localStorage feature detection
|
8 years ago |
Luke Childs
|
7232271d72
|
Move ios check into function
|
8 years ago |
Luke Childs
|
768f083ee8
|
Fix top position in iOS
|
8 years ago |
Luke Childs
|
447642fea4
|
Scope js to it's own IIFE
|
8 years ago |
Luke Childs
|
eaf5fd2fe5
|
Write DOM load check more efficiently
|
8 years ago |
Luke Childs
|
d143ac5a72
|
Add async JavaScript
|
8 years ago |
Luke Childs
|
c5d7c347fe
|
Add favicon
|
8 years ago |
Luke Childs
|
de1c7970f3
|
Add web app manifest
|
8 years ago |
Luke Childs
|
27cd0aa0e2
|
Serve everything in public at root
Otherwise we were limited to only serving staic content in /assets
|
8 years ago |