projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afbbef6
)
inliner.js
author
Alan Knowles
<alan@roojs.com>
Thu, 12 Nov 2015 05:25:10 +0000
(13:25 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 12 Nov 2015 05:25:10 +0000
(13:25 +0800)
inliner.js
patch
|
blob
|
history
diff --git
a/inliner.js
b/inliner.js
index
43d9f34
..
4c63023
100644
(file)
--- a/
inliner.js
+++ b/
inliner.js
@@
-7,7
+7,7
@@
function(){
return b.toUpperCase();
}
- var f
etchStyle
= function(dom)
+ var f
ill
= function(dom)
{
var style;
var returns = {};
@@
-22,6
+22,12
@@
function(){
}
//return returns;
}
+ var el = document.querySelector('body');
+ fillStyle(el);
+ var matches = el.querySelectorAll('*');
+ for(var i =0;i < matches.length;i++) {
+ fillStyle(matches[i]);
+ }