Michael Geary wrote: > > require( 'test.js', function() { > // This code runs when the script is loaded > }); >
jQuery already had the $.getScript function to use the same way as the require in your example above. And this is the reason we are trying to have it work properly in this thread. -- View this message in context: http://www.nabble.com/getScript-error-tf2652417.html#a7519037 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/