projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6b02e5
)
inliner.js
author
Alan Knowles
<alan@roojs.com>
Thu, 12 Nov 2015 05:57:32 +0000
(13:57 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 12 Nov 2015 05:57:32 +0000
(13:57 +0800)
inliner.js
patch
|
blob
|
history
diff --git
a/inliner.js
b/inliner.js
index
5b591aa
..
12e6b9f
100644
(file)
--- a/
inliner.js
+++ b/
inliner.js
@@
-54,8
+54,12
@@
}
console.log(prop + '=' + val);
dom.style[camel] = val;
- console.log(dom.getAttribute('style'));
+
+
+
}
+ var es = dom.getAttribute('style');
+ dom.setAttribute('style', '');
//if (dom.nodeName == 'LI') { throw 'done'; }
for (var i = dom.childNodes.length -1; i--; i> -1) {