]> source.dussan.org Git - jquery.git/commitdiff
Fixed pulling in Sizzle subproject when testing with min/dev.
authorOleg Gaidarenko <markelog@gmail.com>
Fri, 16 Aug 2013 13:40:28 +0000 (09:40 -0400)
committerTimmy Willison <timmywillisn@gmail.com>
Fri, 16 Aug 2013 13:40:28 +0000 (09:40 -0400)
test/index.html

index 778dc4dff1d53180fb9a6812364e1cad1ad48a4d..013548558580fc4daef4f3451ac6d82ee8b774e6 100644 (file)
        <script src="jquery.js"></script>
 
        <script>
+
+               // Add Sizzle tests if they not loaded by requirejs
+               if ( window.testSubproject ) {
+                       testSubproject( "Sizzle", "../bower_components/sizzle/test/", /^unit\/.*\.js$/ );
+               }
+
                // html5shiv, enabling HTML5 elements to be used with jQuery
                ( "abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup " +
                        "mark meter nav output progress section summary time video"