search_override.js 464 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
(function(define) {
    'use strict';

    define(['annotator_1.2.9'], function(Annotator) {
        //
        // Override Annotator.Plugin.Store.prototype._getAnnotations. We don't want AnnotatorJS to search notes.
        //
        // eslint-disable-next-line no-param-reassign, no-underscore-dangle
        Annotator.Plugin.Store.prototype._getAnnotations = function() {
            // Do Nothing
        };
    });
}).call(this, define || RequireJS.define);