Luke Childs
|
0b31522e46
|
Use xo-lukechilds
|
7 years ago |
Luke Childs
|
3b568f7b2e
|
Follow xo style
|
8 years ago |
Luke Childs
|
9c633f314a
|
Rename service worker cache
|
8 years ago |
Luke Childs
|
cb4e23e1f6
|
Tor Explorer => Onionite
|
8 years ago |
Luke Childs
|
f279fc6f47
|
fn -> cb
|
8 years ago |
Luke Childs
|
55bd66b725
|
Add start_url to cache on service worker install
|
8 years ago |
Luke Childs
|
86566b3001
|
Add `short_name` to manifest.json
Aparently this is required for the home screen prompt
|
8 years ago |
Luke Childs
|
9014f596b6
|
Refactor selective caching
|
8 years ago |
Luke Childs
|
d41e68cbbd
|
Cache bust enhancements.js
|
8 years ago |
Luke Childs
|
32f3d51073
|
Update heart message to make it more obvious now we have two hearts
|
8 years ago |
Luke Childs
|
2aa0464277
|
Add fallback for event.request.mode
|
8 years ago |
Luke Childs
|
2fd08ea4f2
|
Don't allow code examples to break onto a new line
|
8 years ago |
Luke Childs
|
bec36c871a
|
Fix menu button overlapping title on iPhone 5
|
8 years ago |
Luke Childs
|
1ca404ca08
|
Align menu button properly on mobile
|
8 years ago |
Luke Childs
|
74e980a8eb
|
Reuse SVG response rather than getting the markup back our of an element
Edge doesn't support .outerHTML on SVG so the previous method failed on Edge. This way does make more sense anyway
|
8 years ago |
Luke Childs
|
837f2a002c
|
Optimise truthy checks
|
8 years ago |
Luke Childs
|
e2c4fd4421
|
Swap hamburger menu icon for heart
|
8 years ago |
Luke Childs
|
795938293d
|
Update cache message to appear less "webpagey" and more "appy"
|
8 years ago |
Luke Childs
|
992e06546d
|
Cache about page on install
|
8 years ago |
Luke Childs
|
f71afe78e4
|
Store node pages for offline use
|
8 years ago |
Luke Childs
|
436adac60c
|
Better comments for service worker
|
8 years ago |
Luke Childs
|
1bcd331b63
|
Remove stray newline
|
8 years ago |
Luke Childs
|
a805897f65
|
Remove extra level of indentation
|
8 years ago |
Luke Childs
|
6078a14355
|
Remove old classList check
|
8 years ago |
Luke Childs
|
416ccb07e7
|
Show how out of date stale pages are
|
8 years ago |
Luke Childs
|
a6e5111be6
|
Don't bother with seperate caching function, not gonna re-use it
|
8 years ago |
Luke Childs
|
574e666c74
|
Improving navigation comments
|
8 years ago |
Luke Childs
|
7cf541c91a
|
Prefer stale cache over offline page
|
8 years ago |
Luke Childs
|
3d81765260
|
Enable selective caching
|
8 years ago |
Luke Childs
|
43115cc3d9
|
Don't show searchbar on mobile about and no-connection pages
|
8 years ago |
Luke Childs
|
2de8ec158a
|
Improve no-connection page
|
8 years ago |
Luke Childs
|
5b39b8a020
|
Show cached offline page if no internet
|
8 years ago |
Luke Childs
|
892c761c7e
|
Add service worker and cache assets
|
8 years ago |
Luke Childs
|
ebed53e5bf
|
Update homescreen icon
|
8 years ago |
Luke Childs
|
0182cfadbc
|
Show message in ndoe menu if no nodes have been hearted
|
8 years ago |
Luke Childs
|
dfd668c445
|
elem() -> find()
I was getting elem() and create() mixed up, find() is more expresses intent better.
|
8 years ago |
Luke Childs
|
1a6d5d4acb
|
Refactor feature detection into object
No need for reusable class, keep size down
|
8 years ago |
Luke Childs
|
aa80c5533a
|
Make hearted nodes list scrollable
|
8 years ago |
Luke Childs
|
4876042b3d
|
Wire up menu controls
|
8 years ago |
Luke Childs
|
098c3a120d
|
Style hearted nodes list
|
8 years ago |
Luke Childs
|
b65179b7b9
|
Update hearted node menu on heart/unheart
|
8 years ago |
Luke Childs
|
3df4866bca
|
Populate hearted nodes list
|
8 years ago |
Luke Childs
|
a8867adeac
|
Add favourited menu
|
8 years ago |
Luke Childs
|
cc4bd62325
|
Update hearted node name on page load
|
8 years ago |
Luke Childs
|
80e1654d1b
|
Save node name in hash
|
8 years ago |
Luke Childs
|
b5994b7551
|
Store favourited nodes in hash, not array
|
8 years ago |
Luke Childs
|
fe4f01903a
|
Check for classList support on SVG element
IE supports classList but not on SVG elems so favouriting nodes fails halfway through if we only check for classList on generic elems.
|
8 years ago |
Luke Childs
|
2cdf5e88da
|
Reduce width of hamburger
|
8 years ago |
Luke Childs
|
b67dff723f
|
Hover styles for hamburger menu
|
8 years ago |
Luke Childs
|
217c9f758b
|
Do hamburger menu in CSS
|
8 years ago |