UNPKG

steal-tools

Version:

Futuristic build tools for ES6 Module applications.

32 lines (28 loc) 761 B
<html> <head> </head> <body> <div id='tabs'></div> <script src="./node_modules/jquery/dist/jquery.js"></script> <script src="./dist/global/tabs.js"></script> <script> $("#tabs").tabs(); _define("foo",["tabs"], function(tabs){ window.TABS = tabs["default"] || tabs; }); </script> <script> // must be done with style for some reason. function reqListener () { var style = document.createElement('style'); style.appendChild(document.createTextNode(this.responseText)); document.head.appendChild(style); window.WIDTH = $("#tabs").width(); } var oReq = new XMLHttpRequest(); oReq.onload = reqListener; oReq.open("get", "./dist/global/tabs.css", true); oReq.send(); </script> </body> </html>