]> source.dussan.org Git - jquery.git/commitdiff
Added the regexp to remove module closures to the ant build file to be on par with...
authorjaubourg <aubourg.julian@gmail.com>
Sat, 11 Dec 2010 00:56:29 +0000 (01:56 +0100)
committerjaubourg <aubourg.julian@gmail.com>
Sat, 11 Dec 2010 00:56:29 +0000 (01:56 +0100)
build.xml

index af0241a7ce53be488e165abf56c80fc7cfe02619..f6650f44051f77c09d0228063cac7a37309e012c 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -76,6 +76,7 @@
                <exec executable="git" outputproperty="date">
                        <arg line="log -1 --pretty=format:%ad" />
                </exec>
+               <replaceregexp match="(\(\s*function\s*\(\s*jQuery\s*\)\s*\{)|(\}\s*\)\s*\(\s*jQuery\s*\)\s*;)" flags="g" replace="" file="${JQ}" />
                <replaceregexp match="Date: " replace="Date: ${date}" file="${JQ}" />
                <echo message="${JQ} built." />
        </target>