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
51dd3736
Commit
51dd3736
authored
Aug 13, 2006
by
John Resig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved docs stuff to build, to be created when the docs are actually built.
parent
6c3314ab
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
31 additions
and
16 deletions
+31
-16
Makefile
Makefile
+29
-12
build.js
build/build.js
+1
-1
docs.js
build/docs.js
+1
-3
doc.js
build/docs/js/doc.js
+0
-0
pager.js
build/docs/js/pager.js
+0
-0
tooltip.js
build/docs/js/tooltip.js
+0
-0
docs.xsl
build/docs/style/docs.xsl
+0
-0
style.css
build/docs/style/style.css
+0
-0
No files found.
Makefile
View file @
51dd3736
SRC_DIR
=
src
SRC_DIR
=
src
BUILD_DIR
=
build
BUILD_DIR
=
build
DOCS_DIR
=
docs
DOCS_DIR
=
docs
DIST_DIR
=
dist
MODULES
=
jquery event fx ajax
MODULES
=
jquery event fx ajax
JQ
=
jquery-svn.js
JQ
=
${
DIST_DIR
}
/jquery.js
JQ_PACK
=
jquery-svn.pack.js
JQ_LITE
=
${
DIST_DIR
}
/jquery.lite.js
JQ_PACK
=
${
DIST_DIR
}
/jquery.pack.js
all
:
jquery lite pack docs
${DIST_DIR}
:
mkdir
-p
${
DIST_DIR
}
all
:
${JQ} ${JQ_PACK} docs
jquery
:
${DIST_DIR} ${JQ}
${JQ}
:
${JQ}
:
@
@echo
"Building
jquery-svn.js"
;
@
@echo
"Building
"
${
JQ
}
;
@@for
f
in
${MODULES};
do
\
@@for
f
in
${MODULES};
do
\
echo "Adding module
:
" $$f;
\
echo "Adding module
:
" $$f;
\
cat ${SRC_DIR}/$$f/$$f.js >> ${JQ};
\
cat ${SRC_DIR}/$$f/$$f.js >> ${JQ};
\
done
done
@@echo
"jquery-svn.js
built."
;
@@echo
${JQ}
"
built."
;
${JQ_PACK}
:
${JQ}
lite
:
${JQ_LITE}
@
@echo
"Building jquery-svn.pack.js"
;
${JQ_LITE}
:
${JQ}
@
@echo
"Building"
${
JQ_LITE
}
;
java
-jar
${
BUILD_DIR
}
/js.jar
${
BUILD_DIR
}
/lite.js
${
JQ
}
${
JQ_LITE
}
@
@echo
${
JQ_LITE
}
"built."
;
cd
${BUILD_DIR}
&&
java
-jar
js.jar
build.js
../${JQ}
../
${JQ_PACK}
pack
:
${JQ_PACK}
@@echo
"jquery-svn.pack.js built."
;
${JQ_PACK}
:
${JQ}
@
@echo
"Building"
${
JQ_PACK
}
;
java
-jar
${
BUILD_DIR
}
/js.jar
${
BUILD_DIR
}
/build.js
${
JQ
}
${
JQ_PACK
}
@
@echo
${
JQ_PACK
}
"built."
;
test
:
test
:
docs
:
${JQ}
docs
:
${JQ}
@
@echo
"Building Documentation"
;
@
@echo
"Building Documentation"
;
cd
${
BUILD_DIR
}
&&
java
-jar
js.jar docs.js ../
${
JQ
}
../
${
DOCS_DIR
}
java
-jar
${
BUILD_DIR
}
/js.jar
${
BUILD_DIR
}
/docs.js
${
JQ
}
${
DOCS_DIR
}
@
@echo
"Documentation built."
;
@
@echo
"Documentation built."
;
clean
:
clean
:
rm
${
JQ
}
rm
-rf
${
DIST_DIR
}
rm
-f
${
DOCS_DIR
}
/index.xml
rm
-f
${
DOCS_DIR
}
/data/
*
build/build.js
View file @
51dd3736
load
(
"
js/ParseMaster.js"
,
"js/pack.js"
,
"
js/writeFile.js"
);
load
(
"
build/js/ParseMaster.js"
,
"build/js/pack.js"
,
"build/
js/writeFile.js"
);
var
out
=
readFile
(
arguments
[
0
]
);
var
out
=
readFile
(
arguments
[
0
]
);
...
...
build/docs.js
View file @
51dd3736
load
(
"js/json.js"
);
load
(
"build/js/json.js"
,
"build/js/xml.js"
,
"build/js/writeFile.js"
);
load
(
"js/xml.js"
);
load
(
"js/writeFile.js"
);
var
types
=
{
var
types
=
{
jQuery
:
"A jQuery object."
,
jQuery
:
"A jQuery object."
,
...
...
docs/js/doc.js
→
build/
docs/js/doc.js
View file @
51dd3736
File moved
docs/js/pager.js
→
build/
docs/js/pager.js
View file @
51dd3736
File moved
docs/js/tooltip.js
→
build/
docs/js/tooltip.js
View file @
51dd3736
File moved
docs/style/docs.xsl
→
build/
docs/style/docs.xsl
View file @
51dd3736
File moved
docs/style/style.css
→
build/
docs/style/style.css
View file @
51dd3736
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