From 46d58cafb04356b25b1fa1127c5ad9e66c9a7613 Mon Sep 17 00:00:00 2001 From: Stephen Hess Date: Wed, 17 Aug 2016 14:20:29 -0400 Subject: [PATCH] renamed `_text_autocomplete` to `_text_addressit` --- sanitiser/{_text_autocomplete.js => _text_addressit.js} | 0 sanitiser/autocomplete.js | 2 +- test/unit/run.js | 1 + .../sanitiser/{_text_autocomplete.js => _text_addressit.js} | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) rename sanitiser/{_text_autocomplete.js => _text_addressit.js} (100%) rename test/unit/sanitiser/{_text_autocomplete.js => _text_addressit.js} (98%) diff --git a/sanitiser/_text_autocomplete.js b/sanitiser/_text_addressit.js similarity index 100% rename from sanitiser/_text_autocomplete.js rename to sanitiser/_text_addressit.js diff --git a/sanitiser/autocomplete.js b/sanitiser/autocomplete.js index 025485cf..900edba2 100644 --- a/sanitiser/autocomplete.js +++ b/sanitiser/autocomplete.js @@ -3,7 +3,7 @@ var type_mapping = require('../helper/type_mapping'); var sanitizeAll = require('../sanitiser/sanitizeAll'), sanitizers = { singleScalarParameters: require('../sanitiser/_single_scalar_parameters'), - text: require('../sanitiser/_text_autocomplete'), + text: require('../sanitiser/_text_addressit'), tokenizer: require('../sanitiser/_tokenizer'), size: require('../sanitiser/_size')(10, 10, 10), layers: require('../sanitiser/_targets')('layers', type_mapping.layer_mapping), diff --git a/test/unit/run.js b/test/unit/run.js index bddb9ecf..77fb3415 100644 --- a/test/unit/run.js +++ b/test/unit/run.js @@ -51,6 +51,7 @@ var tests = [ require('./sanitiser/_sources'), require('./sanitiser/_sources_and_layers'), require('./sanitiser/_text'), + require('./sanitiser/_text_addressit'), require('./sanitiser/_tokenizer'), require('./sanitiser/_deprecate_quattroshapes'), require('./sanitiser/_categories'), diff --git a/test/unit/sanitiser/_text_autocomplete.js b/test/unit/sanitiser/_text_addressit.js similarity index 98% rename from test/unit/sanitiser/_text_autocomplete.js rename to test/unit/sanitiser/_text_addressit.js index a8911b69..6a67a3db 100644 --- a/test/unit/sanitiser/_text_autocomplete.js +++ b/test/unit/sanitiser/_text_addressit.js @@ -1,4 +1,4 @@ -var sanitiser = require('../../../sanitiser/_text_autocomplete'); +var sanitiser = require('../../../sanitiser/_text_addressit'); var type_mapping = require('../../../helper/type_mapping'); module.exports.tests = {};