mirror of
https://github.com/tcsenpai/Zundler.git
synced 2025-06-06 11:35:40 +00:00
Add more source pragmas
This commit is contained in:
parent
649324d576
commit
351582e055
@ -23,7 +23,7 @@ var embed_js = function() {
|
||||
var src = newScript.getAttribute('src');
|
||||
let [path, get_parameters, anchor] = split_url(src);
|
||||
path = normalize_path(path);
|
||||
var src = retrieve_file(path);
|
||||
var src = retrieve_file(path) + ' //# ' + path;
|
||||
newScript.appendChild(document.createTextNode(src));
|
||||
newScript.removeAttribute('src');
|
||||
oldScript.parentNode.replaceChild(newScript, oldScript);
|
||||
|
Loading…
x
Reference in New Issue
Block a user