mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Clean trailing whitespace from all files.
This commit is contained in:
parent
429b078dc7
commit
3e0cc81504
2
Makefile
2
Makefile
@ -85,7 +85,7 @@ ${JQ}: ${MODULES} ${DIST_DIR}
|
||||
@@cat ${MODULES} | \
|
||||
sed 's/.function..jQuery...{//' | \
|
||||
sed 's/}...jQuery..;//' | \
|
||||
sed 's/Date:./&'"${DATE}"'/' | \
|
||||
sed 's/@DATE/'"${DATE}"'/' | \
|
||||
${VER} > ${JQ};
|
||||
|
||||
${SRC_DIR}/selector.js: ${SIZZLE_DIR}/sizzle.js
|
||||
|
2
Rakefile
2
Rakefile
@ -89,7 +89,7 @@ file jq => [dist_dir, base_files].flatten do
|
||||
puts "Building jquery.js..."
|
||||
|
||||
File.open(jq, 'w') do |f|
|
||||
f.write cat(base_files).gsub(/(Date:.)/, "\\1#{date}" ).gsub(/@VERSION/, version)
|
||||
f.write cat(base_files).gsub(/@DATE/, date).gsub(/@VERSION/, version)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -77,7 +77,7 @@
|
||||
<arg line="log -1 --pretty=format:%ad" />
|
||||
</exec>
|
||||
<replaceregexp match="(\(\s*function\s*\(\s*jQuery\s*\)\s*\{)|(\}\s*\)\s*\(\s*jQuery\s*\)\s*;)" flags="g" replace="" file="${JQ}" />
|
||||
<replaceregexp match="Date: " replace="Date: ${date}" file="${JQ}" />
|
||||
<replaceregexp match="@DATE" replace="${date}" file="${JQ}" />
|
||||
<echo message="${JQ} built." />
|
||||
</target>
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
* Copyright 2010, The Dojo Foundation
|
||||
* Released under the MIT, BSD, and GPL Licenses.
|
||||
*
|
||||
* Date:
|
||||
* Date: @DATE
|
||||
*/
|
||||
(function( window, undefined ) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user