JavaScript 框架 RightJS 2.3.0 發布
RightJS 2.3.0 是一個主要的更新版本,包含眾多新特性、bug修復和改進,詳情請看:
RightJS Core
- JSON plugin was merged into the core. Those days JSON format is a vital part of web-applications, and because of that the plugin was merged into the core, so that you could enjoy the standard JSON functionality on any browsers
- Element#data method was added (thanks to Arkady https://github.com/pyromaniac). This method provides standard HTML5 datasets access feature that available in all browsers. See the API documentation for examples
- Element#set method doesn't put 'data-' attributes in the instance anymore (kudos to Jakub Pawlowicz)
- Form#values now parses name[smth] attributes into a proper nested object structure
- BUTTON elements support fix for old IE browsers (thanks to Claus Klingberg @cjk)
- Number#to method was added. (kudos to Rafaël Blais Masson @rafBM)
- String#dasherized method was added
- Fx module now uses the CSS3 cubic-bezier notation for the transition option by default
- Cookie now transparently import/export data in JSON format, so you can save objects and arrays in cookies
- Xhr now handles the X-JSON headers and automatically extracts JSON data from there. (thanks to Oleg Ivanov @morphekil)
- Xhr extracts JSON data on 'complete' instead of 'success'
- Object#toQueryString now handles nested objects of any depth
- isNumber(NaN) now returns false
- Smooth window scrolling fix
Plugin And UI Updates
- Calendar now supports the highlight option where you can specify a list of dates you want to be highlighted in the calendar
- Slider now supports two handle configurations to work with ranges
- RTEE was updated with several bug-fixes
- Rails Support module was updated with several important fixes and the data-disable-with attributes support (thanks to Alexander Dryzhuk https://github.com/amdest)
RightJS CDN is also was updated. The right-rails gem will be updated shortly as well.
This about it I think. Also thanks to everyone who is not mentioned in the change log but came up with ideas and bug reports, your feedback really helps!
RightJS 是一個功能非常豐富的 JavaScript 框架,其中 UI 部分包含的組件有:
- Autocompleter
- Billboard
- Calendar
- Colorpicker
- Dialog
- In Place Edit
- Lightbox
- Rater
- Resizable
- Selectable
- Slider
- Sortable
- Tabs
- Tooltips
- Uploader
項目地址:http://rightjs.org/
本文由用戶 fmms 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!