You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
1.2 KiB
1 line
1.2 KiB
2 years ago
|
{"version":3,"file":"dynamic-import-maps.min.js","sources":["../../src/extras/dynamic-import-maps.js"],"sourcesContent":["/*\n * Support for live DOM updating import maps\n */\nnew MutationObserver(function (mutations) {\n for (var i = 0; i < mutations.length; i++) {\n var mutation = mutations[i];\n if (mutation.type === 'childList')\n for (var j = 0; j < mutation.addedNodes.length; j++) {\n var addedNode = mutation.addedNodes[j];\n if (addedNode.tagName === 'SCRIPT' && addedNode.type === 'systemjs-importmap' && !addedNode.sp) {\n System.prepareImport(true);\n break;\n }\n }\n }\n}).observe(document, { childList: true, subtree: true });\n"],"names":["MutationObserver","mutations","i","length","mutation","type","j","addedNodes","addedNode","tagName","sp","System","prepareImport","observe","document","childList","subtree"],"mappings":"AAGA,IAAIA,kBAAiB,SAAUC,GAC7B,IAAK,IAAIC,EAAI,EAAOD,EAAUE,OAAdD,EAAsBA,IAAK,CACzC,IAAIE,EAAWH,EAAUC,GACzB,GAAsB,cAAlBE,EAASC,KACb,IAAK,IAAIC,EAAI,EAAOF,EAASG,WAAWJ,OAAxBG,EAAgCA,IAAK,CACnD,IAAIE,EAAYJ,EAASG,WAAWD,GACpC,GAA0B,WAAtBE,EAAUC,SAA2C,uBAAnBD,EAAUH,OAAkCG,EAAUE,GAAI,CAC9FC,OAAOC,eAAc,GACrB,YAILC,QAAQC,SAAU,CAAEC,WAAW,EAAMC,SAAS"}
|