require standalone

require(‘superheroic import mechanism’);

jQuery Require

jQuery 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()!