Permalink
Browse files

Reorganzing the jQuery source (first phase).

  • Loading branch information...
1 parent 13b66c8 commit b4e23b5af0820a66c2e275051f613f3df9a4444d @jeresig jeresig committed Sep 8, 2007
View
22 Makefile
@@ -8,11 +8,11 @@ DIST_DIR = ${PREFIX}/dist
SPEED_DIR = ${PREFIX}/speed
PLUG_DIR = ../plugins
-BASE_FILES = ${SRC_DIR}/jquery/jquery.js\
- ${SRC_DIR}/selector/selector.js\
- ${SRC_DIR}/event/event.js\
- ${SRC_DIR}/ajax/ajax.js\
- ${SRC_DIR}/fx/fx.js
+BASE_FILES = ${SRC_DIR}/core.js\
+ ${SRC_DIR}/selector.js\
+ ${SRC_DIR}/event.js\
+ ${SRC_DIR}/ajax.js\
+ ${SRC_DIR}/fx.js
PLUGINS = ${PLUG_DIR}/button/*\
${PLUG_DIR}/center/*\
@@ -47,7 +47,7 @@ VER = sed s/@VERSION/${JQ_VER}/
JAR = java -jar ${BUILD_DIR}/js.jar
-all: jquery lite min pack docs test speed
+all: jquery lite min pack speed
@@echo "jQuery build complete."
${DIST_DIR}:
@@ -110,17 +110,17 @@ test: ${JQ}
@@echo "Building Test Suite"
@@echo " - Making Test Suite Directory:" ${TEST_DIR}
- @@mkdir -p ${TEST_DIR}
+ #@@mkdir -p ${TEST_DIR}
@@echo " - Removing any old tests"
- @@rm -f ${TEST_DIR}/tests/*
+ #@@rm -f ${TEST_DIR}/tests/*
@@echo " - Copying over script files."
- @@cp -fR ${BUILD_DIR}/test/data ${TEST_DIR}/data
- @@cp -f ${BUILD_DIR}/test/index.html ${TEST_DIR}
+ #@@cp -fR ${BUILD_DIR}/test/data ${TEST_DIR}/data
+ #@@cp -f ${BUILD_DIR}/test/index.html ${TEST_DIR}
@@echo " - Compiling Test Cases"
- @@${JAR} ${BUILD_DIR}/test/test.js ${JQ} ${TEST_DIR}
+ #@@${JAR} ${BUILD_DIR}/test/test.js ${JQ} ${TEST_DIR}
@@echo "Test Suite Built"
@@echo
View
0 src/ajax/ajax.js → src/ajax.js
File renamed without changes.
View
0 src/event/event.js → src/event.js
File renamed without changes.
View
0 src/fx/fx.js → src/fx.js
File renamed without changes.
View
0 src/jquery/jquery.js → src/jquery.js
File renamed without changes.
View
0 src/selector/selector.js → src/selector.js
File renamed without changes.
View
0 build/test/data/cow.jpg → test/data/cow.jpg
File renamed without changes
View
0 build/test/data/dashboard.xml → test/data/dashboard.xml
File renamed without changes.
View
0 build/test/data/json.php → test/data/json.php
File renamed without changes.
View
0 build/test/data/json_obj.js → test/data/json_obj.js
File renamed without changes.
View
0 build/test/data/jsonp.php → test/data/jsonp.php
File renamed without changes.
View
0 build/test/data/name.html → test/data/name.html
File renamed without changes.
View
0 build/test/data/name.php → test/data/name.php
File renamed without changes.
View
0 build/test/data/test.html → test/data/test.html
File renamed without changes.
View
0 build/test/data/test.js → test/data/test.js
File renamed without changes.
View
0 build/test/data/test.php → test/data/test.php
File renamed without changes.
View
0 build/test/data/test2.html → test/data/test2.html
File renamed without changes.
View
0 build/test/data/test3.html → test/data/test3.html
File renamed without changes.
View
0 build/test/data/testrunner.js → test/data/testrunner.js
File renamed without changes.
View
0 build/test/data/testsuite.css → test/data/testsuite.css
File renamed without changes.
View
0 build/test/data/text.php → test/data/text.php
File renamed without changes.
View
0 build/test/data/with_fries.xml → test/data/with_fries.xml
File renamed without changes.
View
10 build/test/index.html → test/index.html
@@ -6,11 +6,11 @@
<link rel="Stylesheet" media="screen" href="data/testsuite.css" />
<script type="text/javascript" src="../dist/jquery.js"></script>
<script type="text/javascript" src="data/testrunner.js"></script>
- <script type="text/javascript" src="../src/jquery/coreTest.js"></script>
- <script type="text/javascript" src="../src/selector/selectorTest.js"></script>
- <script type="text/javascript" src="../src/event/eventTest.js"></script>
- <script type="text/javascript" src="../src/ajax/ajaxTest.js"></script>
- <script type="text/javascript" src="../src/fx/fxTest.js"></script>
+ <script type="text/javascript" src="unit/core.js"></script>
+ <script type="text/javascript" src="unit/selector.js"></script>
+ <script type="text/javascript" src="unit/event.js"></script>
+ <script type="text/javascript" src="unit/ajax.js"></script>
+ <script type="text/javascript" src="unit/fx.js"></script>
</head>
<body id="body">
View
0 build/test/test.js → test/test.js
File renamed without changes.
View
0 src/ajax/ajaxTest.js → test/unit/ajaxTest.js
File renamed without changes.
View
0 src/jquery/coreTest.js → test/unit/coreTest.js
File renamed without changes.
View
0 src/event/eventTest.js → test/unit/eventTest.js
File renamed without changes.
View
0 src/fx/fxTest.js → test/unit/fxTest.js
File renamed without changes.
View
0 src/selector/selectorTest.js → test/unit/selectorTest.js
File renamed without changes.

0 comments on commit b4e23b5

Please sign in to comment.