UNPKG

dojo

Version:

Dojo core is a powerful, lightweight library that makes common tasks quicker and easier. Animate elements, manipulate the DOM, and query with easy CSS syntax, all without sacrificing performance.

24 lines (22 loc) 439 B
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Loader test page</title> </head> <body> <script> var ready = 0; var dojoConfig; function configureLoader(config) { dojoConfig = JSON.parse(config); dojoConfig.callback = function () { ready = 1; }; var script = document.createElement('script'); script.src = '../../../../dojo.js'; document.body.appendChild(script); } </script> </body> </html>