loopback-datasource-juggler/lib
CerealGuy 662458dc2c Fix validateNumericality, nullCheck & add tests
validateNumericality didn't test if attributes value is a number
only if it's type is number.
Further nullCheck had a wrong testing order. It first checked if
value is null, later if blank. Also null check only used two equals,
not three. We don't use blank() anymore, testing if variable is
undefined should be fine too.
Added tests covering validateNumericality.
2016-10-15 10:59:22 +02:00
..
connectors Add ilike and nilike operators 2016-10-12 18:31:31 -06:00
kvao Add docs for KVAO 2016-09-16 17:03:33 -07:00
browser.depd.js Fix manually 2016-08-22 19:20:12 -04:00
dao.js Add ilike and nilike operators 2016-10-12 18:31:31 -06:00
datasource.js Disable `strict` for a few files 2016-08-26 09:54:31 -04:00
geo.js Fix manually 2016-08-22 19:20:12 -04:00
hooks.js Fix manually 2016-08-22 19:20:12 -04:00
include.js Fix manually 2016-08-22 19:20:12 -04:00
include_utils.js Fix manually 2016-08-22 19:20:12 -04:00
introspection.js Fix manually 2016-08-22 19:20:12 -04:00
jutil.js Fix manually 2016-08-22 19:20:12 -04:00
list.js Fix manually 2016-08-22 19:20:12 -04:00
mixins.js Fix manually 2016-08-22 19:20:12 -04:00
model-builder.js Fix manually 2016-08-22 19:20:12 -04:00
model-definition.js Fix manually 2016-08-22 19:20:12 -04:00
model.js Support {defaultFn: 'shortid'} 2016-09-22 16:07:34 -07:00
observer.js Fix manually 2016-08-22 19:20:12 -04:00
relation-definition.js Disable `strict` for a few files 2016-08-26 09:54:31 -04:00
relations.js Fix manually 2016-08-22 19:20:12 -04:00
scope.js Fix manually 2016-08-22 19:20:12 -04:00
transaction.js Fix manually 2016-08-22 19:20:12 -04:00
types.js Fix manually 2016-08-22 19:20:12 -04:00
utils.js Fix manually 2016-08-22 19:20:12 -04:00
validations.js Fix validateNumericality, nullCheck & add tests 2016-10-15 10:59:22 +02:00