TEST_DIR = ${PREFIX}/test
DIST_DIR = ${PREFIX}/dist
-MODULES = ${SRC_DIR}/jquery/*\
+MODULES = ${SRC_DIR}/intro.js\
+ ${SRC_DIR}/jquery/*\
${SRC_DIR}/event/*\
${SRC_DIR}/fx/*\
${SRC_DIR}/ajax/*
+ ${SRC_DIR}/outro.js\
JQ = ${DIST_DIR}/jquery.js
JQ_LITE = ${DIST_DIR}/jquery.lite.js
<target name="jquery">
<echo message="Building ${JQ}" />
<mkdir dir="${DIST_DIR}" />
- <concat destfile="${JQ}">
+ <concat destfile="${JQ}">\r
+ <fileset dir="${SRC_DIR}" includes="intro.js" />
<fileset dir="${SRC_DIR}" includes="jquery/*.js" />
<fileset dir="${SRC_DIR}" includes="event/*.js" />
<fileset dir="${SRC_DIR}" includes="fx/*.js" />
- <fileset dir="${SRC_DIR}" includes="ajax/*.js" />
+ <fileset dir="${SRC_DIR}" includes="ajax/*.js" />\r
+ <fileset dir="${SRC_DIR}" includes="outro.js" />
</concat>
<echo message="${JQ} built." />
</target>
--- /dev/null
+/* prevent execution of jQuery if included more then once */\r
+if(typeof window.jQuery == "undefined") {\r
* @name jQuery
* @cat Core
*/
-function jQuery(a,c) {
+jQuery = function(a,c) {
// Shortcut for document ready (because $(document).each() is silly)
if ( a && a.constructor == Function && jQuery.fn.ready )
// If so, execute it in context
if ( fn && fn.constructor == Function )
this.each(fn);
-}
+};
// Map over the $ in case of overwrite
if ( typeof $ != "undefined" )
--- /dev/null
+} // close: if(typeof window.jQuery == "undefined") {
\ No newline at end of file