projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e1940a
)
inliner.js
author
Alan Knowles
<alan@roojs.com>
Thu, 12 Nov 2015 05:32:09 +0000
(13:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 12 Nov 2015 05:32:09 +0000
(13:32 +0800)
inliner.js
patch
|
blob
|
history
diff --git
a/inliner.js
b/inliner.js
index
21c06e6
..
1bed8c9
100644
(file)
--- a/
inliner.js
+++ b/
inliner.js
@@
-37,10
+37,10
@@
var el = document.querySelector('body');
fillStyle(el);
- var matches = document.getElementsByTagName('style');
- for(var i =0;i < matches.length;i++) {
- matches[i].parentElement.removeChild(matches[i]);
- }
+
//
var matches = document.getElementsByTagName('style');
+
//
for(var i =0;i < matches.length;i++) {
+
//
matches[i].parentElement.removeChild(matches[i]);
+
//
}