projects
/
g.raphael
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63dd7b1
)
seed/importz.js
author
Alan Knowles
<alan@roojs.com>
Mon, 20 Jun 2016 09:17:53 +0000
(17:17 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 20 Jun 2016 09:17:53 +0000
(17:17 +0800)
seed/importz.js
patch
|
blob
|
history
diff --git
a/seed/importz.js
b/seed/importz.js
index
3343eb9
..
f0e32af
100644
(file)
--- a/
seed/importz.js
+++ b/
seed/importz.js
@@
-77,7
+77,7
@@
function importz(_fn, applyto)
throw "Could not load " + _fn;
}
var res = request.responseText;
- res.replace(
/^[A-z]+
)
+ res.replace(
^\W*([A-Z]+)\W*=\W*importz\(('[A-Z]+')\);/gim, "importz(\2,'\1')"
)
var code = '(function() { ' +
"var importz = window.importz;\n" + // needed???