Commit 192d6cd4 authored by John Resig's avatar John Resig

Moved the copyright to the intro file, added a ! so that it passes through...

Moved the copyright to the intro file, added a ! so that it passes through YUIMin untouched, and changed the Date and Revision so that they're now generated automatically based upon all of jQuery rather than just the core file.
parent 9472728b
......@@ -52,6 +52,9 @@ VER = sed s/@VERSION/${JQ_VER}/
JAR = java -jar ${BUILD_DIR}/js.jar
MINJAR = java -jar ${BUILD_DIR}/yuicompressor-2.4.2.jar
DATE=`svn info . | grep Date: | sed 's/.*: //g'`
REV=`svn info . | grep Rev: | sed 's/.*: //g'`
all: jquery lite min pack speed
@@echo "jQuery build complete."
......@@ -62,9 +65,13 @@ jquery: ${DIST_DIR} ${JQ}
${JQ}: ${MODULES}
@@echo "Building" ${JQ}
echo "${DATE}"
@@mkdir -p ${DIST_DIR}
@@cat ${MODULES} | ${VER} > ${JQ};
@@cat ${MODULES} | \
sed 's/Date:./&'"${DATE}"'/' | \
sed 's/Revision:./&'"${REV}"'/' | \
${VER} > ${JQ};
@@echo ${JQ} "Built"
@@echo
......
/*
* jQuery @VERSION - New Wave Javascript
*
* Copyright (c) 2008 John Resig (jquery.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* $Date$
* $Rev$
*/
var
// Will speed up references to window, and allows munging its name.
window = this,
......
/*!
* jQuery JavaScript Library v@VERSION
* http://jquery.com/
*
* Copyright (c) 2009 John Resig
* Dual licensed under the MIT and GPL licenses.
* http://docs.jquery.com/License
*
* Date:
* Revision:
*/
(function(){
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment