doedje / jquery.require Goto Github PK
View Code? Open in Web Editor NEWjQuery plugin for use with requirejs. Allows you to do $(selector).require([plugin], function() { $(this).plugin; }); With the advantage that it only loads the dependencies when at least one element is selected. Let's $(selector).require()!
License: MIT License