jQuery 1.8 --> 1.9 변경에 따른 해결 방법.... 원문

· 12년 전 · 3237

http://blog.jquery.com/2013/01/15/jquery-1-9-final-jquery-2-0-beta-migrate-final-released/

핵심은 중간에 있습니다.

If you’re on a recent version of jQuery core and have been avoiding deprecated features, these new jQuery releases may work for your code right out of the box. (Just remember, jQuery 2.0 doesn’t work on IE 6, 7, or 8!) Still, we recommend that you always start by including the jQuery Migrate plugin to see if it gives you any warnings.

The jQuery 1.9 final files are available on jQuery’s CDN, and should be available on the Google and Microsoft CDNs within a few days:

< script src="http://code.jquery.com/jquery-1.9.0.js"></script>
< script src="http://code.jquery.com/jquery-migrate-1.0.0.js"></script>

Or, for testing jQuery 2.0 beta 1, use the jQuery CDN:

< script src="http://code.jquery.com/jquery-2.0.0b1.js"></script>
< script src="http://code.jquery.com/jquery-migrate-1.0.0.js"></script>

For diagnostic purposes, you can also include the jQuery Migrate plugin with versions of jQuery all the way back to 1.6.4 to see what changes may cause issues with your code when you finally upgrade.

No matter which version of jQuery you use with the plugin, be sure to open the browser’s console to see what warnings or errors are being generated. Warnings given by the plugin start with the word “JQMIGRATE” and are listed in the plugin’s documentation. The description explains why the warning was given and how it can be fixed.



[ 왕 간단 요약  ]
1) http://sir.co.kr/bbs/board.php?bo_table=cm_free&wr_id=913305&sca=&sfl=&stx=&sst=&sod=&spt=0&page=3

2) 2.0 에서는 IE 6, 7, or 8! 을 지원하지 않으며, 기존 소스의 문제을 해결(?)하고 싶다면
    < script src="http://code.jquery.com/jquery-migrate-1.0.0.js"></script>
  을 삽입하라  

|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

자유게시판

+
제목 글쓴이 날짜 조회
12년 전 조회 1,349
12년 전 조회 1,196
12년 전 조회 1,702
12년 전 조회 1,223
12년 전 조회 1,187
12년 전 조회 1,080
12년 전 조회 1,180
12년 전 조회 1,126
12년 전 조회 1,103
12년 전 조회 1,138
12년 전 조회 1,168
12년 전 조회 4,685
12년 전 조회 1,110
12년 전 조회 1,101
12년 전 조회 3,238
12년 전 조회 1,141
12년 전 조회 1,091
12년 전 조회 1,806
12년 전 조회 4,742
12년 전 조회 1,121
12년 전 조회 1,227
12년 전 조회 1,389
12년 전 조회 1,670
12년 전 조회 2,259
12년 전 조회 1,201
12년 전 조회 3,485
12년 전 조회 5,291
12년 전 조회 1,650
12년 전 조회 1,006
12년 전 조회 1,805
🐛 버그신고