Sha256: 58323fc008037272e937b66f9ceed5f28d25f8721d31e5578420441bebaf4fa3

Contents?: true

Size: 644 Bytes

Versions: 3

Compression:

Stored size: 644 Bytes

Contents

(function($) {
    "use strict";

    try {

        Object.defineProperties($.prototype, {

            hasEquivalence: {
                value: function(key) {
                    var
                        iterator = this.keys(),
                        tuple = iterator.next();

                    while (!tuple.done) {
                        if (Object.areEquivalents(tuple.value, key)) {
                            return true;
                        }

                        tuple = iterator.next();
                    }

                    return false;
                }
            }

        });
    } catch(e) {}

})(Map);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
esphinx-rails-1.1.4 lib/assets/javascripts/esphinx/lib/extensions/map.js
esphinx-rails-1.1.3 lib/assets/javascripts/esphinx/lib/extensions/map.js
esphinx-rails-1.1.2 lib/assets/javascripts/esphinx/lib/extensions/map.js