Sha256: 03be57c3817fd2208d56b5784887b81de44e563d7bd506c0ed0cbbb3a4071f2a
Contents?: true
Size: 426 Bytes
Versions: 19
Compression:
Stored size: 426 Bytes
Contents
(function() { $.ematch = function(val, expr) { if (typeof expr === 'boolean') { return expr; } else if ((expr != null ? expr.constructor.name : void 0) === 'RegExp') { return expr.test(val); } else if ($.isArray(expr)) { return $.inArray(val, expr) > -1; } else if (typeof expr === 'function') { return expr.call(val, val); } else { return false; } }; }).call(this);
Version data entries
19 entries across 19 versions & 1 rubygems