Allow users to specify a module for inline scripts (#6223)

This commit is contained in:
Jeff Rafter
2017-09-10 09:09:52 -07:00
committed by Logan Smyth
parent 7accee9c24
commit 1b03906da4

View File

@@ -161,7 +161,7 @@ function loadScripts(transformFn, scripts) {
...scriptData,
content: script.innerHTML,
loaded: true,
url: null,
url: script.getAttribute("data-module") || null,
};
}
});