Files
edx-platform/lms/static/js/edxnotes/plugins/search_override.js
2016-11-09 01:28:13 +05:00

14 lines
464 B
JavaScript

(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);