can-query-logic
Advanced tools
Comparing version 0.7.1 to 0.7.2
{ | ||
"name": "can-query-logic", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "query data", | ||
@@ -5,0 +5,0 @@ "homepage": "", |
@@ -8,2 +8,3 @@ var set = require("../set"); | ||
var comparisonSetTypeSymbol = canSymbol.for("can.ComparisonSetType"); | ||
var isMemberSymbol = canSymbol.for("can.isMember"); | ||
@@ -102,2 +103,7 @@ // This helper function seperates out sets that relate to the "maybe" values | ||
}; | ||
Maybe.prototype[isMemberSymbol] = function isMember() { | ||
var rangeIsMember = this.range[isMemberSymbol] || this.range.isMember, | ||
enumIsMember = this.enum[isMemberSymbol] || this.enum.isMember; | ||
return rangeIsMember.apply(this.range, arguments) || enumIsMember.apply(this.enum, arguments); | ||
} | ||
@@ -251,2 +257,2 @@ set.defineComparison(Maybe, Maybe, { | ||
module.exports = makeMaybe; | ||
module.exports = makeMaybe; |
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
350254
9379