Add unit tests for concatCSS() and concatJS()

This commit is contained in:
Kijin Sung 2016-05-05 13:45:57 +09:00
parent 7363f71d4a
commit b5a10e850f
10 changed files with 120 additions and 2 deletions

View file

@ -0,0 +1,18 @@
/* Original file: tests/_data/formatter/concat.source1.js */
(function($) {
$(".foo").click(function(event) {
event.preventDefault();
$(this).attr("bar", "baz");
});
})(jQuery);;
/* Original file: tests/_data/formatter/concat.source2.js */
if ((/MSIE (\d+)/.exec(window.navigator.userAgent) && /MSIE (\d+)/.exec(window.navigator.userAgent)[1] >= 6) && (/MSIE (\d+)/.exec(window.navigator.userAgent) && /MSIE (\d+)/.exec(window.navigator.userAgent)[1] <= 8)) {
(function($) {
$(".xe").hide();
})(jQuery);;
};