This repository contains code in development to be used on the website Rich Blocks, Poor Blocks.
The live code is on the 'master' branch in the '_LIVE CODE' folder. It is minified.
If you'd like to fork this project, fork the 'develop' branch.
If you think you can make RichBlocksPoorBlocks.com even better than it currently is, then fork the 'develop' branch and prove it.
If you do fork the 'develop' branch, please use this syntax in naming your repo: 'feature_{YOUR-FEATURE-NAME}'.
If your idea rocks, it will be merged into the 'develop' branch and you'll get credit on the homepage as well as a link back to your site (or blog, or social media page, or whatever else).
If you want to help work on a feature already in development, then you're best off forking a repo that has forked the 'develop' branch.
If you want to work on an issue, please use this syntax in naming your repo: 'branchName#{ISSUE_NAME}'.
Please do NOT fork the 'master' branch or any of the 'hotfix' or 'release' branches. The 'master' branch is where code goes when it's stable and meant for people to download and run. 'Hotfix' and 'release' branches are only meant to be temporary -- the former to fix urgent problems quickly, and the latter for final minor edits to the script before being merged with the 'master' branch.
For more info on good Git branching practices, check this article on Git workflow.
- HTML, CSS, JavaScript, and Google Fusion Tables.
- JavaScript libraries: jQuery, Google Maps JavaScript API v3, and accounting.js.
Each state map used on the site was made in Google Fusion Tables.
All median income and median rent data come from the U.S. Census' 2007-2011 American Community Survey.
Questions? Email [email protected], tweet @RichBlocksPoorB, or tweet site creator Chris Persaud at @ChrisMPersaud.
- v2.0.2: Fixed bug that put the word "undefined" in infoWindow
- v2.0.1: Added "(paid)" to maps being sold
- v2.0: Added a shop, embed button, and LinkedIn share button
- v1.4.1: Added 'nofollow' attributes to outbound links
- v1.4: Added social button for Reddit
- v1.3: Incorporated changes from branch 'feature_media-footer'
- v1.2.3: Fixed spellings of Massachusetts and Pennsylvania
- v1.2.2: Minor README.md updates
- v1.2.1: Minor README.md updates
- v1.2: Edited 'main.js' so that if a user changes the map type then clicks 'Search' without changing the address and state, then the map layer, infobox and legend will change without the map re-zooming and re-centering itself
- v1.1.1: Edited the 'Change Map Size' button to work properly on Google Chrome
- v1.1: Added the 'Change Map Size' button
- v1.0: Initial commit
- Fix embed functionality
- Redirect 'poverty' map selection to map shop (especially in the embed map)