Browse Source

Whitespace

pull/221/head
Julian Simioni 9 years ago
parent
commit
e71fb7cfd4
  1. 1
      controller/search.js
  2. 2
      sanitiser/_id.js
  3. 3
      sanitiser/_input.js
  4. 1
      sanitiser/_layers.js

1
controller/search.js

@ -1,4 +1,3 @@
var service = { search: require('../service/search') };
function setup( backend, query ){

2
sanitiser/_id.js

@ -5,7 +5,6 @@ var isObject = require('is-object');
// so, both type and id are required fields.
function sanitize( req ){
req.clean = req.clean || {};
var params = req.query;
var indeces = require('../query/indeces');
@ -68,7 +67,6 @@ function sanitize( req ){
}
return { 'error': false };
}
// export function

3
sanitiser/_input.js

@ -3,7 +3,6 @@ var query_parse= require('../helper/query_parser');
// validate inputs, convert types and apply defaults
function sanitize( req ){
req.clean = req.clean || {};
var params= req.query;
@ -24,9 +23,7 @@ function sanitize( req ){
req.clean.parsed_input = query_parse(params.input);
return { 'error': false };
}
// export function

1
sanitiser/_layers.js

@ -5,7 +5,6 @@ var isObject = require('is-object'),
// validate inputs, convert types and apply defaults
function sanitize( req ){
var clean = req.clean || {};
var params= req.query;

Loading…
Cancel
Save