- https://atom.io/packages/minimap - sublime-like map of entire file
- https://atom.io/packages/jsformat
- Turn off "format on save" in settings
- https://atom.io/packages/linter
- https://atom.io/packages/linter-jshint
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"City":"Bayonne", | |
"State":"New Jersey", | |
"Link":"http://en.wikipedia.org/wiki/Bayonne,_New_Jersey", | |
"Image":"http://upload.wikimedia.org/wikipedia/commons/thumb/0/06/Flag_of_Bayonne%2C_New_Jersey.png/180px-Flag_of_Bayonne%2C_New_Jersey.png", | |
"Lat":40.668714, | |
"Lon":-74.114309 | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am gavinr on github. | |
* I am gavinr (https://keybase.io/gavinr) on keybase. | |
* I have a public key whose fingerprint is EB22 A70F EE67 C3CE 51BB 5297 740D 13AE A56A 911B | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var filterGrid = function(grid, memory, searchTerm) { | |
var setToMemory; | |
// if the search is empty, "turn off" filter | |
if (searchTerm === "") { | |
setToMemory = this.memory; | |
} else { | |
var mainFilter; | |
// go though each column, applying the filter for each: | |
for (var key in grid.columns) { | |
if (grid.columns.hasOwnProperty(key)) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on(this.filterTextBox, "keyUp", lang.hitch(this, function(name, oldValue, newValue) { | |
var searchValue = this.filterTextBox.get("value"); | |
this.filterGrid(this.grid, this.memory, searchValue); | |
})); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
"YEAR": "1945", | |
"COWCODE": 2, | |
"ARDACODE": 234, | |
"COUNTRY": "United States of America", | |
"PRIMARY": "", | |
"PRIMARY_PERCENTAGE": "", | |
"CHRSGEN": 110265118, | |
"JUDGEN": 4641182, | |
"ISLMGEN": 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"YEAR": "1945", | |
"COWCODE": 2, | |
"ARDACODE": 234, | |
"COUNTRY": "United States of America", | |
"PRIMARY": "CHRSGEN", | |
"PRIMARY_PERCENTAGE": 0.7880132496712595, | |
"CHRSGEN": 110265118, | |
"JUDGEN": 4641182, |