mroswell / legislative-committee-maps Goto Github PK
View Code? Open in Web Editor NEWA developing project, parallel to the congressional committee maps at http://CommitteeMaps.org
A developing project, parallel to the congressional committee maps at http://CommitteeMaps.org
Sometimes the committees list popup won't load because of this CORS error:
XMLHttpRequest cannot load http://openstates.org/api/v1/committees/?state=al&fields=members%2Ccommittee%2Csubcommittee%2Cchamber&apikey=9e3e71730ae34e1ebbf4dd0e1c346c07. The 'Access-Control-Allow-Origin' header has a value 'http://legislativecommittees.org' that is not equal to the supplied origin. Origin 'http://localhost:8000' is therefore not allowed access.
To replicate:
legislativecommittees.org
in one tab and localhost:8000
in another (or refresh each of the tabs)New that we have a grunt
workflow, we'll have to fix up the way deployment to gh-pages
works. I really like Yeoman's tutorial for how to do this. I think all of the options would work, I've had luck with git subtree.
...member data resolves. That's why you see them pop in out of order. If you wanted to wait for all of them, you could use $.when to run your code once all the API promises have been resolved:
...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.