mirror of
https://github.com/matthiasmullie/minify.git
synced 2025-02-23 20:53:34 +01:00
Add test for issue #66
This commit is contained in:
parent
9ddb7bbdbf
commit
44cbb9c0f5
@ -643,6 +643,16 @@ BUG
|
|||||||
'var d3_nsPrefix={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}',
|
'var d3_nsPrefix={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// https://github.com/matthiasmullie/minify/issues/66
|
||||||
|
$tests[] = array(
|
||||||
|
"$(coming.wrap).bind('onReset', function () {
|
||||||
|
try {
|
||||||
|
$(this).find('iframe').hide().attr('src', '//about:blank').end().empty();
|
||||||
|
} catch (e) {}
|
||||||
|
});",
|
||||||
|
"$(coming.wrap).bind('onReset',function(){try{\$(this).find('iframe').hide().attr('src','//about:blank').end().empty()}catch(e){}})",
|
||||||
|
);
|
||||||
|
|
||||||
return $tests;
|
return $tests;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user