klark-js-plugins
Advanced tools
Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "klark-js-plugins", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Plugin modules for KlarkJS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -14,4 +14,2 @@ 'use strict'; | ||
function create(model, record) { | ||
@@ -37,3 +35,5 @@ return model.create(record); | ||
q = _.transform(filters, function(result, value, key) { | ||
if (!(_.isNil(value) || (_.isString(value) && !value))) { | ||
if (key === '__custom__' && _.isFunction(value)) { | ||
value(result); | ||
} else if (!(_.isNil(value) || (_.isString(value) && !value))) { | ||
result[key] = valueToFilter(value); | ||
@@ -40,0 +40,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71238
1758