From 84670180f729656eabaf5cd36b506caa57bbc29c Mon Sep 17 00:00:00 2001 From: Harish Krishna Date: Tue, 23 Dec 2014 11:48:00 -0500 Subject: [PATCH] renaming _latlonzoom to _geo --- sanitiser/{_latlonzoom.js => _geo.js} | 0 sanitiser/reverse.js | 2 +- sanitiser/suggest.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename sanitiser/{_latlonzoom.js => _geo.js} (100%) diff --git a/sanitiser/_latlonzoom.js b/sanitiser/_geo.js similarity index 100% rename from sanitiser/_latlonzoom.js rename to sanitiser/_geo.js diff --git a/sanitiser/reverse.js b/sanitiser/reverse.js index a99eff94..82b96ef1 100644 --- a/sanitiser/reverse.js +++ b/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); diff --git a/sanitiser/suggest.js b/sanitiser/suggest.js index 7681233f..06288019 100644 --- a/sanitiser/suggest.js +++ b/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); };