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

Version Path
ela-4.1.6 dist/app_js/vendor/poised/utils.js
ela-4.1.5 dist/app_js/vendor/poised/utils.js
ela-4.1.4 dist/app_js/vendor/poised/utils.js
ela-4.1.3 dist/app_js/vendor/poised/utils.js
ela-4.1.2 dist/app_js/vendor/poised/utils.js
ela-4.1.1 dist/app_js/vendor/poised/utils.js
ela-4.1.0 dist/app_js/vendor/poised/utils.js
ela-4.0.0 dist/app_js/vendor/poised/utils.js
ela-3.4.3 dist/app_js/vendor/poised/utils.js
ela-3.4.2 dist/app_js/vendor/poised/utils.js
ela-3.4.0 dist/app_js/vendor/poised/utils.js
ela-3.3.1 dist/app_js/vendor/poised/utils.js
ela-3.3.0 dist/app_js/vendor/poised/utils.js
ela-3.2.0 dist/app_js/vendor/poised/utils.js
ela-3.1.1 dist/app_js/vendor/poised/utils.js
ela-3.1.0 dist/app_js/vendor/poised/utils.js
ela-3.0.0 dist/app_js/vendor/poised/utils.js
ela-2.0.0 dist/app_js/vendor/poised/utils.js
ela-1.1.0 dist/app_js/vendor/poised/utils.js