]> source.dussan.org Git - jquery.git/commitdiff
Trim out the module wrappers during the build process. Follow-up to #7011. 9/head
authorjeresig <jeresig@gmail.com>
Thu, 9 Sep 2010 14:34:21 +0000 (10:34 -0400)
committerjeresig <jeresig@gmail.com>
Thu, 9 Sep 2010 14:34:21 +0000 (10:34 -0400)
Makefile

index 0fff724c1e374324460a3863faa56ec65eeacc93..d11d4e1ff36c0f013bc26d03248b07af47055a17 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -56,6 +56,8 @@ ${JQ}: selector ${MODULES}
        @@mkdir -p ${DIST_DIR}
 
        @@cat ${MODULES} | \
+               sed 's/.function..jQuery...{//' | \
+               sed 's/}...jQuery..;//' | \
                sed 's/Date:./&'"${DATE}"'/' | \
                ${VER} > ${JQ};