GithubHelp home page GithubHelp logo

Comments (6)

jlord avatar jlord commented on September 22, 2024

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.

deltamualpha avatar deltamualpha commented on September 22, 2024

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.

jlord avatar jlord commented on September 22, 2024

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.

jlord avatar jlord commented on September 22, 2024

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.

deltamualpha avatar deltamualpha commented on September 22, 2024

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.

deltamualpha avatar deltamualpha commented on September 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.