@psychobunny thanks for the response! Sorry it took me a day to get back to you.And if you no longer play I'd happily take that Mox Diamond off your hands. 
Anyway, my problem is that I cannot properly load the Stripjs library with my plugin. I've tried several ways to include the script into my application. Most of them end up with Uncaught Error: Mismatched anonymous define() module
but when I used require.js in my main.js
, a different error occurred which was the $
(jQuery) was undefined and the jQuery lightbox plugin I am using could not call $.extend
. I doubt I'm explaining this properly as it half sounds like Greek to me. But I assume the staticDir
in my plugin is being ran on page load before jQuery is loaded---that is why $
is undefined.
I got so frustrated with it that I just wrote my own extremely simple lightbox with plain javascript and loaded it into my plugin, though I would still love to use the external library instead.