Browse Source

renaming _latlonzoom to _geo

pull/60/head
Harish Krishna 10 years ago
parent
commit
84670180f7
  1. 0
      sanitiser/_geo.js
  2. 2
      sanitiser/reverse.js
  3. 2
      sanitiser/suggest.js

0
sanitiser/_latlonzoom.js → sanitiser/_geo.js

2
sanitiser/reverse.js

@ -2,7 +2,7 @@
var logger = require('../src/logger'),
_sanitize = require('../sanitiser/_sanitize'),
sanitiser = {
latlonzoom: require('../sanitiser/_latlonzoom'),
latlonzoom: require('../sanitiser/_geo'),
size: function( req ) {
var size = require('../sanitiser/_size');
return size(req, 1);

2
sanitiser/suggest.js

@ -5,7 +5,7 @@ var logger = require('../src/logger'),
input: require('../sanitiser/_input'),
size: require('../sanitiser/_size'),
layers: require('../sanitiser/_layers'),
latlonzoom: require('../sanitiser/_latlonzoom')
latlonzoom: require('../sanitiser/_geo')
};
var sanitize = function(req, cb) { _sanitize(req, sanitizers, cb); };

Loading…
Cancel
Save