Sha256: c6b7f6e64df6b4ecbe424222e4681934f36170d2480abe6125e6aac6ea237803

Contents?: true

Size: 681 Bytes

Versions: 2

Compression:

Stored size: 681 Bytes

Contents

(function($) {
    "use strict";


    try {

        Object.defineProperties($.prototype, {
            elements: {
                value: function() {
                    var
                        next,
                        collection = [];

                    do {
                        try {
                            next = this.iterateNext();
                            if (next) {
                                collection.push(next);
                            }
                        } catch (e) {}

                    } while (next);

                    return collection;
                }
            }
        });

    } catch(e) {}

})(XPathResult);

Version data entries

2 entries across 2 versions & 1 rubygems

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