Permalink
Show file tree
Hide file tree
3 comments
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Use the correct escape for BOM; add build code to detect non-ASCII.
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1450305
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder how can I fix this. ( Run on Windows 7)
D:\Code\github\jquery [master +2 ~0 -0 !]> grunt
path.existsSync is now called
fs.existsSync
.Running "submodules" task
Running "selector:src/selector.js" (selector) task
File 'src/selector.js' created.
Running "build:dist/jquery.js:*" (build) task
File 'dist/jquery.js' created.
Running "lint:dist" (lint) task
Lint free.
Running "lint:grunt" (lint) task
Lint free.
Running "lint:tests" (lint) task
Lint free.
Running "min:dist/jquery.min.js" (min) task
File "dist/jquery.min.js" created.
Uncompressed size: 266813 bytes.
Compressed size: 33390 bytes gzipped (93436 bytes minified).
Running "dist:*" (dist) task
dist/jquery.js: Non-ASCII characters detected:
-- 17:22:09 GMT+0800 (中国标准时间)
*/
(functio
-- 17:22:09 GMT+0800 (中国标准时间)
*/
(function
-- 7:22:09 GMT+0800 (中国标准时间)
*/
(function(
-- :22:09 GMT+0800 (中国标准时间)
*/
(function(
-- 22:09 GMT+0800 (中国标准时间)
*/
(function( w
-- 2:09 GMT+0800 (中国标准时间)
/
(function( wi
Task "dist:" failed. Use --force to continue.
Aborted due to warnings.
1450305
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm, seems like we'll need to use our own date format to prevent localized time zone names from peeking through. http://bugs.jquery.com/ticket/12725
1450305
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"grunt custom" doesn't work.
D:\Code\github\jquery [master]> grunt custom:+ajax,-dimensions,-effects,-offset
path.existsSync is now called
fs.existsSync
.Running "custom:+ajax" (custom) task
Creating custom build...
Done, without errors.
D:\Code\github\jquery [master]> cd .\dist ; ls
目录: D:\Code\github\jquery\dist
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 2012/10/14 17:57 0 .sizecache.json
I don't know why there is nothing in dist.