mirror of
https://github.com/mrclay/minify.git
synced 2025-08-29 16:49:47 +02:00
add testcase for js minify that produces $jscomp polyfills
with recent closure compiler default input language has changed from ES3 to ES6 produces $jscomp polyfills
This commit is contained in:
7
tests/_test_files/js/jscomp.polyfill.js
Normal file
7
tests/_test_files/js/jscomp.polyfill.js
Normal file
@@ -0,0 +1,7 @@
|
||||
(function() {
|
||||
/**
|
||||
* @type {string}
|
||||
*/
|
||||
var $array = jQuery.find('#div');
|
||||
print($array.find('a'));
|
||||
})();
|
1
tests/_test_files/js/jscomp.polyfill.min.js
vendored
Normal file
1
tests/_test_files/js/jscomp.polyfill.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(function(){var a=jQuery.find("#div");print(a.find("a"))})();
|
Reference in New Issue
Block a user