Comments (6)
Ah, that's bad. I'm afraid this whole thing should be re-written, I get really terrified when I look at it now 😳
I think that's a fine fix for this right now, if you want to do a PR that would be ✨
from hack-spots.
OK! I'll see what I can do (my main branch has diverged far enough that I can't just pull out the commit, I think).
Heck, this might be a fun project to learn me some proper JS and try a cleanup/modernization pull request...
from hack-spots.
So I actually just put in the latest version and sheetsee.js
(this project had a really old version) and it solved the issue you were having. I'm going to go ahead and push it, but there is still lots of clean up that could be done!
from hack-spots.
Ok, I spoke too soon :) I ended up breaking more things than I fixed, so let's go with your way for now!
from hack-spots.
Pull request done for that small change.
I'm seeing what you meant by the difficulty in upgrading sheetsee! I'm currently fighting with iCanHaz not having the templates available within the table() function... it's mystifying.
Update: initial work here: https://github.com/nyc-bookstores/nyc-bookstores.github.io/tree/sheetsee-upgrade. Getting strange errors when clicking on items on the map, and the popups don't render anymore. Also, I found a bug in sheetsee-table (the if-else logic on non-paginated tables is busted, causing it to render the table twice, the second time with no data, resulting in an empty table.)
from hack-spots.
For the makeTable() bug, compare https://github.com/jlord/sheetsee.js/blob/master/js/sheetsee.js#L25273-L25282 with https://github.com/nyc-bookstores/nyc-bookstores.github.io/blob/62d257957b73d42bd008ca89d66035f22bcc74b5/js/sheetsee.js#L16171-L16182
from hack-spots.
Related Issues (20)
- Map doesn't always reset correctly HOT 1
- Make London happen! HOT 1
- Something broke? HOT 2
- New google spreadsheets HOT 5
- How do I move the NumberofSpots line to another part of the page? HOT 2
- Make clicks work on mobile HOT 1
- TODO HOT 2
- Address oddness for 'state'less addresses
- Hex color doesn't work for the last item in spreedsheet
- #filter
- Pagination
- View only spreadsheet?
- mapbox account. HOT 2
- Mapbox api seems to be /v3 while they are on /v4 now
- Ordering by value not accurate enough HOT 4
- Ordnance Survey map in the hack-spots
- Hack-spots
- On Mac OS X Safari, clicking a marker shows "undefined" on the first click, the title on the second click. HOT 6
- TypeError: geoJSON[0] is undefined HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hack-spots.