mirror of
https://github.com/remy/inliner.git
synced 2024-09-11 17:25:30 +03:00
fixed exception where comments could not be found
This commit is contained in:
parent
229d4f146b
commit
7e30780fe4
@ -28,6 +28,7 @@ function compressCSS(css) {
|
||||
}
|
||||
|
||||
function removeComments(element) {
|
||||
if (!element || !element.childNodes) return;
|
||||
var nodes = element.childNodes,
|
||||
i = nodes.length;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "inliner",
|
||||
"version": "0.1.11",
|
||||
"version": "0.1.13",
|
||||
"description": "Utility to inline images, CSS and JavaScript for a web page - useful for mobile sites",
|
||||
"homepage": "http://github.com/remy/inliner",
|
||||
"main": "inliner",
|
||||
|
Loading…
Reference in New Issue
Block a user