Problem/Motivation

Right now the prism.js file in the module makes us of jQuery. But, the library definition doesn't make this requirement explicit. So it's possible to have prism.js load on the page, but not jQuery. Which can result in a jQuery is undefined JavaScript error.

Proposed resolution

I think the best fix for this is to remove the dependence on jQuery. It's currently only used to detect if an AJAX operation was run, but there are other ways we can do that that don't require jQuery.

Comments

eojthebrave created an issue. See original summary.

  • eojthebrave committed 8b28551 on 2.0.x
    Issue #3274912 by eojthebrave: Remove jQuery dependency
    
eojthebrave’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.