aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-09-08 12:42:32 +0000
committerJohn Resig <jeresig@gmail.com>2007-09-08 12:42:32 +0000
commitb4e23b5af0820a66c2e275051f613f3df9a4444d (patch)
tree8045667211e4aa393ee1b6e006dd0c953e77c963
parent13b66c8ba9618242df2c1cc352a2b1d879c36188 (diff)
downloadjquery-b4e23b5af0820a66c2e275051f613f3df9a4444d.tar.gz
jquery-b4e23b5af0820a66c2e275051f613f3df9a4444d.zip
Reorganzing the jQuery source (first phase).
-rw-r--r--Makefile22
-rw-r--r--src/ajax.js (renamed from src/ajax/ajax.js)0
-rw-r--r--src/event.js (renamed from src/event/event.js)0
-rw-r--r--src/fx.js (renamed from src/fx/fx.js)0
-rw-r--r--src/jquery.js (renamed from src/jquery/jquery.js)0
-rw-r--r--src/selector.js (renamed from src/selector/selector.js)0
-rw-r--r--test/data/cow.jpg (renamed from build/test/data/cow.jpg)bin1635 -> 1635 bytes
-rw-r--r--test/data/dashboard.xml (renamed from build/test/data/dashboard.xml)0
-rw-r--r--test/data/json.php (renamed from build/test/data/json.php)0
-rw-r--r--test/data/json_obj.js (renamed from build/test/data/json_obj.js)0
-rw-r--r--test/data/jsonp.php (renamed from build/test/data/jsonp.php)0
-rw-r--r--test/data/name.html (renamed from build/test/data/name.html)0
-rw-r--r--test/data/name.php (renamed from build/test/data/name.php)0
-rw-r--r--test/data/test.html (renamed from build/test/data/test.html)0
-rw-r--r--test/data/test.js (renamed from build/test/data/test.js)0
-rw-r--r--test/data/test.php (renamed from build/test/data/test.php)0
-rw-r--r--test/data/test2.html (renamed from build/test/data/test2.html)0
-rw-r--r--test/data/test3.html (renamed from build/test/data/test3.html)0
-rw-r--r--test/data/testrunner.js (renamed from build/test/data/testrunner.js)0
-rw-r--r--test/data/testsuite.css (renamed from build/test/data/testsuite.css)0
-rw-r--r--test/data/text.php (renamed from build/test/data/text.php)0
-rw-r--r--test/data/with_fries.xml (renamed from build/test/data/with_fries.xml)0
-rw-r--r--test/index.html (renamed from build/test/index.html)10
-rw-r--r--test/test.js (renamed from build/test/test.js)0
-rw-r--r--test/unit/ajaxTest.js (renamed from src/ajax/ajaxTest.js)0
-rw-r--r--test/unit/coreTest.js (renamed from src/jquery/coreTest.js)0
-rw-r--r--test/unit/eventTest.js (renamed from src/event/eventTest.js)0
-rw-r--r--test/unit/fxTest.js (renamed from src/fx/fxTest.js)0
-rw-r--r--test/unit/selectorTest.js (renamed from src/selector/selectorTest.js)0
29 files changed, 16 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 751802776..e9a977c19 100644
--- a/Makefile
+++ b/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
diff --git a/src/ajax/ajax.js b/src/ajax.js
index ffe30481d..ffe30481d 100644
--- a/src/ajax/ajax.js
+++ b/src/ajax.js
diff --git a/src/event/event.js b/src/event.js
index 205b510a1..205b510a1 100644
--- a/src/event/event.js
+++ b/src/event.js
diff --git a/src/fx/fx.js b/src/fx.js
index 9fde6b9dd..9fde6b9dd 100644
--- a/src/fx/fx.js
+++ b/src/fx.js
diff --git a/src/jquery/jquery.js b/src/jquery.js
index 537b4e2be..537b4e2be 100644
--- a/src/jquery/jquery.js
+++ b/src/jquery.js
diff --git a/src/selector/selector.js b/src/selector.js
index 33017aa60..33017aa60 100644
--- a/src/selector/selector.js
+++ b/src/selector.js
diff --git a/build/test/data/cow.jpg b/test/data/cow.jpg
index 2c5b67225..2c5b67225 100644
--- a/build/test/data/cow.jpg
+++ b/test/data/cow.jpg
Binary files differ
diff --git a/build/test/data/dashboard.xml b/test/data/dashboard.xml
index 10f6b3347..10f6b3347 100644
--- a/build/test/data/dashboard.xml
+++ b/test/data/dashboard.xml
diff --git a/build/test/data/json.php b/test/data/json.php
index 08e3f9e32..08e3f9e32 100644
--- a/build/test/data/json.php
+++ b/test/data/json.php
diff --git a/build/test/data/json_obj.js b/test/data/json_obj.js
index 7fa61820f..7fa61820f 100644
--- a/build/test/data/json_obj.js
+++ b/test/data/json_obj.js
diff --git a/build/test/data/jsonp.php b/test/data/jsonp.php
index 75000252b..75000252b 100644
--- a/build/test/data/jsonp.php
+++ b/test/data/jsonp.php
diff --git a/build/test/data/name.html b/test/data/name.html
index 0fa32d1a8..0fa32d1a8 100644
--- a/build/test/data/name.html
+++ b/test/data/name.html
diff --git a/build/test/data/name.php b/test/data/name.php
index a4b990e3d..a4b990e3d 100644
--- a/build/test/data/name.php
+++ b/test/data/name.php
diff --git a/build/test/data/test.html b/test/data/test.html
index fc6dc3860..fc6dc3860 100644
--- a/build/test/data/test.html
+++ b/test/data/test.html
diff --git a/build/test/data/test.js b/test/data/test.js
index f8bdd091e..f8bdd091e 100644
--- a/build/test/data/test.js
+++ b/test/data/test.js
diff --git a/build/test/data/test.php b/test/data/test.php
index 9dbea9798..9dbea9798 100644
--- a/build/test/data/test.php
+++ b/test/data/test.php
diff --git a/build/test/data/test2.html b/test/data/test2.html
index ebf610e43..ebf610e43 100644
--- a/build/test/data/test2.html
+++ b/test/data/test2.html
diff --git a/build/test/data/test3.html b/test/data/test3.html
index 909d41745..909d41745 100644
--- a/build/test/data/test3.html
+++ b/test/data/test3.html
diff --git a/build/test/data/testrunner.js b/test/data/testrunner.js
index 69377e452..69377e452 100644
--- a/build/test/data/testrunner.js
+++ b/test/data/testrunner.js
diff --git a/build/test/data/testsuite.css b/test/data/testsuite.css
index b9d487bc4..b9d487bc4 100644
--- a/build/test/data/testsuite.css
+++ b/test/data/testsuite.css
diff --git a/build/test/data/text.php b/test/data/text.php
index c06ef4b8e..c06ef4b8e 100644
--- a/build/test/data/text.php
+++ b/test/data/text.php
diff --git a/build/test/data/with_fries.xml b/test/data/with_fries.xml
index 88e0e49d5..88e0e49d5 100644
--- a/build/test/data/with_fries.xml
+++ b/test/data/with_fries.xml
diff --git a/build/test/index.html b/test/index.html
index b2876b7bb..7d60e098b 100644
--- a/build/test/index.html
+++ b/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">
diff --git a/build/test/test.js b/test/test.js
index e76b795a2..e76b795a2 100644
--- a/build/test/test.js
+++ b/test/test.js
diff --git a/src/ajax/ajaxTest.js b/test/unit/ajaxTest.js
index 872ec0889..872ec0889 100644
--- a/src/ajax/ajaxTest.js
+++ b/test/unit/ajaxTest.js
diff --git a/src/jquery/coreTest.js b/test/unit/coreTest.js
index db4785609..db4785609 100644
--- a/src/jquery/coreTest.js
+++ b/test/unit/coreTest.js
diff --git a/src/event/eventTest.js b/test/unit/eventTest.js
index 334f286c7..334f286c7 100644
--- a/src/event/eventTest.js
+++ b/test/unit/eventTest.js
diff --git a/src/fx/fxTest.js b/test/unit/fxTest.js
index 1f9e674a1..1f9e674a1 100644
--- a/src/fx/fxTest.js
+++ b/test/unit/fxTest.js
diff --git a/src/selector/selectorTest.js b/test/unit/selectorTest.js
index d6121f251..d6121f251 100644
--- a/src/selector/selectorTest.js
+++ b/test/unit/selectorTest.js