From b0cd6f5e0a3a5f42aebe944d4551091ba71605ab Mon Sep 17 00:00:00 2001 From: Matthias Mullie Date: Mon, 2 Feb 2015 15:29:57 -0800 Subject: [PATCH] Add test for issue #33 --- tests/js/JSTest.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/js/JSTest.php b/tests/js/JSTest.php index 885c2d0..90c031d 100644 --- a/tests/js/JSTest.php +++ b/tests/js/JSTest.php @@ -432,6 +432,14 @@ throw new Error('.editManager.js: jQuery is required and must be loaded first')" "$(_this).attr('src',this.src).trigger('adapt',['loader'])", ); + // https://github.com/matthiasmullie/minify/issues/33 + $tests[] = array( + '$.fn.alert = Plugin +$.fn.alert.Constructor = Alert', + '$.fn.alert=Plugin +$.fn.alert.Constructor=Alert', + ); + return $tests; } }