jQuery 1.8 --> 1.9 변경에 따른 해결 방법.... 원문 > 자유게시판

자유게시판

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

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

본문


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=""></script>
  을 삽입하라 
 

추천
0

댓글 0개

전체 199,630 |RSS
자유게시판 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT