Sha256: c3890bf936eea0adc162ebaba64cad317488379b347b37cfc57cdfa9bf0a63ff

Contents?: true

Size: 479 Bytes

Versions: 19

Compression:

Stored size: 479 Bytes

Contents

(function() {
  Backbone.Model.prototype.match = function(test, keys) {
    var values;
    if (keys == null) {
      keys = null;
    }
    values = (keys != null) && keys !== true ? _.values(this.pick.apply(this, keys)) : this.values();
    if (_.isRegExp(test)) {
      return _.some(values, function(attr) {
        return test.test(attr);
      });
    } else {
      return _.some(values, function(attr) {
        return attr === test;
      });
    }
  };

}).call(this);

Version data entries

19 entries across 19 versions & 1 rubygems

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