jquery.highlight.amd.js 475 B

123456789101112
  1. define(["jquery", "jquery.highlight"], function($, highlight) {
  2. /**
  3. * In this context: ($ === jQuery) = false;
  4. *
  5. * '$' is a local jQuery used in noConflict mode.
  6. * The non-AMD modules are not compatible with te 'noconflict' support of requireJS.
  7. * @see: http://requirejs.org/docs/jquery.html#noconflictmap
  8. */
  9. $.fn.highlight = jQuery.fn.highlight;
  10. $.fn.removeHighlight = jQuery.fn.removeHighlight;
  11. return highlight;
  12. });