jquerymobile 이 지난 주에 alpha 에서 beta로 변경되었군요!!! > 토크

토크

개발과 관련된 어떤 얘기도 괜찮습니다.

jquerymobile 이 지난 주에 alpha 에서 beta로 변경되었군요!!! 정보

개발자 jquerymobile 이 지난 주에 alpha 에서 beta로 변경되었군요!!!

본문


jquerymobile 이 지난 주에 alpha 에서 beta로 변경되었군요!!!

변경점이 무엇이 있을른지... 음... 

http://jquerymobile.com/blog/2011/06/20/jquery-mobile-beta-1-released/


Beta 1 upgrade notes

 

Breaking Changes

  • ajaxFormsEnabled and ajaxLinksEnabled are now gone (they were deprecated for a release or two). Use ajaxEnabled to globally set auto-ajax handling.
  • Removed the dynamically-appended viewport Meta tag. Thish was deprecated in Alpha 4, and scheduled for removal in beta. jQM users must provide their own meta viewport tag in the head of jQM page markup.

Deprecations

  • The signature for changePage() has changed during this refactor you will need to update your custom code before upgrading. To ease the transition to the new signature in the short-term, we’ve added code to changePage() that maps any old signature calls to changePage() into a new call. This code will be removed before shipping 1.0.
  • $.mobile.pageLoading( done ) renamed to $.mobile.showPageLoadingMsg()and$.mobile.hidePageLoadingMsg(). Status: $.mobile.pageLoading( done ) is still in the codebase but will be removed soon. Do not use anymore.

Important Notes

  • jQuery code that binds to live click events may have issues with the new URL hiding techniquesbecause we bind to the fastclick event (touch + mouse click). In these situations, you may need to tweak your code to either bind to vclick events instead of click, or set the useFastClick global config option to tell the automated Ajax handling use an ordinary click events instead. Disabling this feature will introduce a slight delay in clicking links and the URL bar will not be hidden.
  • Auto back button additions to toolbar are now off by default. To turn auto backbuttons on, you can set the page plugin’s autoBackBtn option to true per page, or globally via its configuration prototype. You can also use the data-auto-back-btn attribute on a page div.
  • $.mobile.defaultTransition is now renamed to $.mobile.defaultPageTransition and$.mobile.defaultDialogTransition. This is likely not a breaking change since the old configuration property, $.mobile.defaultTransition, will just be ignored.


추천
0
비추천
0
  • 복사

댓글 1개

© SIRSOFT
현재 페이지 제일 처음으로