Skip to content

Commit

Permalink
changed feed type from CORS to GeoJSON | rel: #100
Browse files Browse the repository at this point in the history
  • Loading branch information
elf Pavlik committed Aug 19, 2013
1 parent a0331cb commit d2d90b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ define([], function() {
*/
geoFeeds: [
{ name: 'Hackerspaces (SpaceAPI)', url: '/examples/spaceapi/hackerspaces.json', type: 'SpaceAPI'},
{ name: 'Pools Munich', url: '/examples/geodata/pools-munich.json', type: 'CORS'}
{ name: 'Pools Munich', url: '/examples/geodata/pools-munich.json', type: 'GeoJson'}
],

plugins: ['hello', 'remotestorage', 'search', 'navigation'],
Expand Down
6 changes: 3 additions & 3 deletions app/models/world.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ define([
* (start code)
* config: {
* geoFeeds: [
* { name: 'OpenWiFi Munich', url: '/test/openwifi-munich.json', type: 'CORS'},
* { name: 'Hackerspaces Munich', url: '/test/hackerspaces-munich.json', type: 'CORS'},
* { name: 'OpenWiFi Munich', url: '/test/openwifi-munich.json', type: 'GeoJSON'},
* { name: 'Hackerspaces Munich', url: '/test/hackerspaces-munich.json', type: 'GeoJSON'},
* { hub: 'open-reseource.org', type: 'DSNP'}]}
* (end code)
*/
Expand Down Expand Up @@ -206,7 +206,7 @@ define([
},

feedConstructors: {
CORS: GeoJSONFeed,
GeoJson: GeoJSONFeed,
SpaceAPI: SpaceApiFeed
},

Expand Down

0 comments on commit d2d90b1

Please sign in to comment.