Created
October 8, 2014 07:40
-
-
Save basial/4ae42a097edbf9bd1e3e to your computer and use it in GitHub Desktop.
This file contains 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
wrongStations: function() { | |
var wrongStations = []; | |
$.each(this.store.all('station').content, function(i, station) { | |
if (station.get('name').parameterize() !== station.get('slug')) { | |
console.log(station.get('id'), station.get('name').parameterize(), station.get('slug')); | |
wrongStations.pushObject(station); | |
} | |
}); | |
return wrongStations; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment