Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
b4e23b5a
Commit
b4e23b5a
authored
Sep 08, 2007
by
John Resig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reorganzing the jQuery source (first phase).
parent
13b66c8b
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
16 additions
and
16 deletions
+16
-16
Makefile
Makefile
+11
-11
ajax.js
src/ajax.js
+0
-0
event.js
src/event.js
+0
-0
fx.js
src/fx.js
+0
-0
jquery.js
src/jquery.js
+0
-0
selector.js
src/selector.js
+0
-0
cow.jpg
test/data/cow.jpg
+0
-0
dashboard.xml
test/data/dashboard.xml
+0
-0
json.php
test/data/json.php
+0
-0
json_obj.js
test/data/json_obj.js
+0
-0
jsonp.php
test/data/jsonp.php
+0
-0
name.html
test/data/name.html
+0
-0
name.php
test/data/name.php
+0
-0
test.html
test/data/test.html
+0
-0
test.js
test/data/test.js
+0
-0
test.php
test/data/test.php
+0
-0
test2.html
test/data/test2.html
+0
-0
test3.html
test/data/test3.html
+0
-0
testrunner.js
test/data/testrunner.js
+0
-0
testsuite.css
test/data/testsuite.css
+0
-0
text.php
test/data/text.php
+0
-0
with_fries.xml
test/data/with_fries.xml
+0
-0
index.html
test/index.html
+5
-5
test.js
test/test.js
+0
-0
ajaxTest.js
test/unit/ajaxTest.js
+0
-0
coreTest.js
test/unit/coreTest.js
+0
-0
eventTest.js
test/unit/eventTest.js
+0
-0
fxTest.js
test/unit/fxTest.js
+0
-0
selectorTest.js
test/unit/selectorTest.js
+0
-0
No files found.
Makefile
View file @
b4e23b5a
...
@@ -8,11 +8,11 @@ DIST_DIR = ${PREFIX}/dist
...
@@ -8,11 +8,11 @@ DIST_DIR = ${PREFIX}/dist
SPEED_DIR
=
${
PREFIX
}
/speed
SPEED_DIR
=
${
PREFIX
}
/speed
PLUG_DIR
=
../plugins
PLUG_DIR
=
../plugins
BASE_FILES
=
${
SRC_DIR
}
/
jquery/jquery
.js
\
BASE_FILES
=
${
SRC_DIR
}
/
core
.js
\
${
SRC_DIR
}
/selector
/selector
.js
\
${
SRC_DIR
}
/selector.js
\
${
SRC_DIR
}
/event
/event
.js
\
${
SRC_DIR
}
/event.js
\
${
SRC_DIR
}
/ajax
/ajax
.js
\
${
SRC_DIR
}
/ajax.js
\
${
SRC_DIR
}
/fx
/fx
.js
${
SRC_DIR
}
/fx.js
PLUGINS
=
${
PLUG_DIR
}
/button/
*
\
PLUGINS
=
${
PLUG_DIR
}
/button/
*
\
${
PLUG_DIR
}
/center/
*
\
${
PLUG_DIR
}
/center/
*
\
...
@@ -47,7 +47,7 @@ VER = sed s/@VERSION/${JQ_VER}/
...
@@ -47,7 +47,7 @@ VER = sed s/@VERSION/${JQ_VER}/
JAR
=
java
-jar
${
BUILD_DIR
}
/js.jar
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."
@
@echo
"jQuery build complete."
${DIST_DIR}
:
${DIST_DIR}
:
...
@@ -110,17 +110,17 @@ test: ${JQ}
...
@@ -110,17 +110,17 @@ test: ${JQ}
@
@echo
"Building Test Suite"
@
@echo
"Building Test Suite"
@@echo " - Making Test Suite Directory
:
" ${TEST_DIR}
@@echo " - Making Test Suite Directory
:
" ${TEST_DIR}
@
@mkdir
-p
${
TEST_DIR
}
#
@@mkdir -p ${TEST_DIR}
@@echo
" - Removing any old tests"
@@echo
" - Removing any old tests"
@@rm
-f
${TEST_DIR}/tests/*
#
@@rm -f ${TEST_DIR}/tests/*
@@echo
" - Copying over script files."
@@echo
" - Copying over script files."
@@cp
-fR
${BUILD_DIR}/test/data
${TEST_DIR}/data
#
@@cp -fR ${BUILD_DIR}/test/data ${TEST_DIR}/data
@@cp
-f
${BUILD_DIR}/test/index.html
${TEST_DIR}
#
@@cp -f ${BUILD_DIR}/test/index.html ${TEST_DIR}
@@echo
" - Compiling Test Cases"
@@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
"Test Suite Built"
@@echo
@@echo
...
...
src/ajax
/ajax
.js
→
src/ajax.js
View file @
b4e23b5a
File moved
src/event
/event
.js
→
src/event.js
View file @
b4e23b5a
File moved
src/fx
/fx
.js
→
src/fx.js
View file @
b4e23b5a
File moved
src/jquery
/jquery
.js
→
src/jquery.js
View file @
b4e23b5a
File moved
src/selector
/selector
.js
→
src/selector.js
View file @
b4e23b5a
File moved
build/
test/data/cow.jpg
→
test/data/cow.jpg
View file @
b4e23b5a
File moved
build/
test/data/dashboard.xml
→
test/data/dashboard.xml
View file @
b4e23b5a
File moved
build/
test/data/json.php
→
test/data/json.php
View file @
b4e23b5a
File moved
build/
test/data/json_obj.js
→
test/data/json_obj.js
View file @
b4e23b5a
File moved
build/
test/data/jsonp.php
→
test/data/jsonp.php
View file @
b4e23b5a
File moved
build/
test/data/name.html
→
test/data/name.html
View file @
b4e23b5a
File moved
build/
test/data/name.php
→
test/data/name.php
View file @
b4e23b5a
File moved
build/
test/data/test.html
→
test/data/test.html
View file @
b4e23b5a
File moved
build/
test/data/test.js
→
test/data/test.js
View file @
b4e23b5a
File moved
build/
test/data/test.php
→
test/data/test.php
View file @
b4e23b5a
File moved
build/
test/data/test2.html
→
test/data/test2.html
View file @
b4e23b5a
File moved
build/
test/data/test3.html
→
test/data/test3.html
View file @
b4e23b5a
File moved
build/
test/data/testrunner.js
→
test/data/testrunner.js
View file @
b4e23b5a
File moved
build/
test/data/testsuite.css
→
test/data/testsuite.css
View file @
b4e23b5a
File moved
build/
test/data/text.php
→
test/data/text.php
View file @
b4e23b5a
File moved
build/
test/data/with_fries.xml
→
test/data/with_fries.xml
View file @
b4e23b5a
File moved
build/
test/index.html
→
test/index.html
View file @
b4e23b5a
...
@@ -6,11 +6,11 @@
...
@@ -6,11 +6,11 @@
<link
rel=
"Stylesheet"
media=
"screen"
href=
"data/testsuite.css"
/>
<link
rel=
"Stylesheet"
media=
"screen"
href=
"data/testsuite.css"
/>
<script
type=
"text/javascript"
src=
"../dist/jquery.js"
></script>
<script
type=
"text/javascript"
src=
"../dist/jquery.js"
></script>
<script
type=
"text/javascript"
src=
"data/testrunner.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=
"
unit/core
.js"
></script>
<script
type=
"text/javascript"
src=
"
../src/selector/selectorTest
.js"
></script>
<script
type=
"text/javascript"
src=
"
unit/selector
.js"
></script>
<script
type=
"text/javascript"
src=
"
../src/event/eventTes
t.js"
></script>
<script
type=
"text/javascript"
src=
"
unit/even
t.js"
></script>
<script
type=
"text/javascript"
src=
"
../src/ajax/ajaxTest
.js"
></script>
<script
type=
"text/javascript"
src=
"
unit/ajax
.js"
></script>
<script
type=
"text/javascript"
src=
"
../src/fx/fxTest
.js"
></script>
<script
type=
"text/javascript"
src=
"
unit/fx
.js"
></script>
</head>
</head>
<body
id=
"body"
>
<body
id=
"body"
>
...
...
build/
test/test.js
→
test/test.js
View file @
b4e23b5a
File moved
src/ajax
/ajaxTest.js
→
test/unit
/ajaxTest.js
View file @
b4e23b5a
File moved
src/jquery
/coreTest.js
→
test/unit
/coreTest.js
View file @
b4e23b5a
File moved
src/even
t/eventTest.js
→
test/uni
t/eventTest.js
View file @
b4e23b5a
File moved
src/fx
/fxTest.js
→
test/unit
/fxTest.js
View file @
b4e23b5a
File moved
src/selector
/selectorTest.js
→
test/unit
/selectorTest.js
View file @
b4e23b5a
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment