From 3bb22b81628fb3b2bdba26bc7c116e8ea302442d Mon Sep 17 00:00:00 2001 From: Xabi Date: Tue, 7 May 2024 15:04:00 +0200 Subject: [PATCH] Eliminar archivos innecesarios y obsoletos --- demo/routes/autocomplete.js | 19 ---- demo/routes/combo.js | 91 ------------------- demo/routes/jqtable.js | 91 ------------------- ...boEnlazadoMultiple.departamentoRemote.json | 6 -- .../comboEnlazadoMultiple.dptoProvRemote.json | 14 --- ...oEnlazadoSimple.remoteEnlazadoComarca.json | 16 ---- ...nlazadoSimple.remoteEnlazadoLocalidad.json | 47 ---------- ...nlazadoSimple.remoteEnlazadoProvincia.json | 5 - demo/routes/json/comboSimple.remote.json | 5 - demo/routes/json/comboSimple.remoteDos.json | 5 - demo/routes/json/comboSimple.remoteGroup.json | 38 -------- demo/routes/json/jqtable.json | 19 ---- 12 files changed, 356 deletions(-) delete mode 100644 demo/routes/autocomplete.js delete mode 100644 demo/routes/combo.js delete mode 100644 demo/routes/jqtable.js delete mode 100644 demo/routes/json/comboEnlazadoMultiple.departamentoRemote.json delete mode 100644 demo/routes/json/comboEnlazadoMultiple.dptoProvRemote.json delete mode 100644 demo/routes/json/comboEnlazadoSimple.remoteEnlazadoComarca.json delete mode 100644 demo/routes/json/comboEnlazadoSimple.remoteEnlazadoLocalidad.json delete mode 100644 demo/routes/json/comboEnlazadoSimple.remoteEnlazadoProvincia.json delete mode 100644 demo/routes/json/comboSimple.remote.json delete mode 100644 demo/routes/json/comboSimple.remoteDos.json delete mode 100644 demo/routes/json/comboSimple.remoteGroup.json delete mode 100644 demo/routes/json/jqtable.json diff --git a/demo/routes/autocomplete.js b/demo/routes/autocomplete.js deleted file mode 100644 index 75e416071..000000000 --- a/demo/routes/autocomplete.js +++ /dev/null @@ -1,19 +0,0 @@ -exports.remote = function(req, res) { - var json = [ - {'value':1,'label':'Ayuntamiento de Álava'}, - {'value':2,'label':'Ayuntamiento de Vizcaya'}, - {'value':3,'label':'Ayuntamiento de Gipuzcoa'}, - {'value':4,'label':'Diputación de Álava'}, - {'value':5,'label':'Diputación de Vizcaya'}, - {'value':6,'label':'Diputación de Gipuzcoa'}, - {'value':7,'label':'Policia de Álava'}, - {'value':8,'label':'Policia de Vizcaya'}, - {'value':9,'label':'Policia de Gipuzcoa'}, - {'value':10,'label':'Bomberos de Álava'}, - {'value':11,'label':'Bomberos de Vizcaya'}, - {'value':12,'label':'Bomberos de Gipuzcoa'} - ]; - - //var familias = require('./accesoFamilias.json'); - res.status(200).json(json); -}; diff --git a/demo/routes/combo.js b/demo/routes/combo.js deleted file mode 100644 index f2a518cd1..000000000 --- a/demo/routes/combo.js +++ /dev/null @@ -1,91 +0,0 @@ -exports.comboSimple = {}; -exports.comboEnlazadoSimple = {}; -exports.comboEnlazadoMultiple = {}; - -exports.comboSimple.remote = function(req, res) { - var json = require('./json/comboSimple.remote.json'); - res.status(200).json(json); -}; - -exports.comboSimple.remoteDos = function(req, res) { - var json = require('./json/comboSimple.remoteDos.json'); - res.status(200).json(json); -}; - -exports.comboSimple.remoteGroup = function(req, res) { - var json = require('./json/comboSimple.remoteGroup.json'); - res.status(200).json(json); -}; - -exports.comboSimple.remoteGroupEnlazado = function(req, res) { - var retArray = [], - jsonProvincias = require('./json/comboEnlazadoSimple.remoteEnlazadoProvincia.json'), - jsonComarcas = require('./json/comboEnlazadoSimple.remoteEnlazadoComarca.json'), - jsonLocalidades = require('./json/comboEnlazadoSimple.remoteEnlazadoLocalidad.json'), - localidadAux = [], - comarcasProvincia= [], - localidadesProvincia = []; - - if (req.query.provincia===undefined){ - retArray.push({"Provincia": jsonProvincias}); - for(var i=0;i