projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbb48a0
)
inliner.js
author
Alan Knowles
<alan@roojs.com>
Thu, 12 Nov 2015 05:29:12 +0000
(13:29 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 12 Nov 2015 05:29:12 +0000
(13:29 +0800)
inliner.js
patch
|
blob
|
history
diff --git
a/inliner.js
b/inliner.js
index
6a656bd
..
c2c9a41
100644
(file)
--- a/
inliner.js
+++ b/
inliner.js
@@
-17,6
+17,7
@@
style = window.getComputedStyle(dom, null);
if (style.display == 'none') {
dom.parentElement.removeChild(dom);
+ return;
}
for(var i=0;i<style.length;i++){
@@
-26,6
+27,11
@@
//returns[camel] = val;
dom.style[prop] = val;
}
+ for (var i = dom.childNodes.length -1; i--; i> -1) {
+ fillStyle(dom.childNodes)
+ }
+
+
//return returns;
}
var el = document.querySelector('body');