4 ms·
Also not officially supported yet, but it does allow you to also load modules temporarily via the console: R42.load({ // or loadAlways jquery:
by chadscira 11y ago
Also not officially supported yet, but it does allow you to also load modules temporarily via the console:
R42.load({ // or loadAlways
jquery: '$',
underscore: '_',
bluebird: 'Promise'
},
function () {
// $, _, and Promise are now globals
console.log('loaded');
}
);
This was initially intended to add modules to pages that you don't control so that you can run external code on them.