JavaScript 框架 RightJS 2.3.0 发布

fmms 9年前
     RightJS 2.3.0 是一个主要的更新版本,包含众多新特性、bug修复和改进,详情请看:    <h3>RightJS Core</h3>    <ul class="changelog">     <li>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</li>     <li><a class="api-ref" href="/misc/goto?guid=4958198324637522370">Element#data</a> 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</li>     <li><a class="api-ref" href="/misc/goto?guid=4958198325370257634">Element#set</a> method doesn't put 'data-' attributes in the instance anymore (kudos to Jakub Pawlowicz)</li>     <li><a class="api-ref" href="/misc/goto?guid=4958198326111391738">Form#values</a> now parses <tt>name[smth]</tt> attributes into a proper nested object structure</li>     <li>BUTTON elements support fix for old IE browsers (thanks to Claus Klingberg @cjk)</li>     <li><a class="api-ref" href="/misc/goto?guid=4958198326847336580">Number#to</a> method was added. (kudos to Rafaël Blais Masson @rafBM)</li>     <li>String#dasherized method was added</li>     <li><a class="api-ref" href="/misc/goto?guid=4958198327583526246">Fx</a> module now uses the CSS3 cubic-bezier notation for the <tt>transition</tt> option by default</li>     <li><a class="api-ref" href="/misc/goto?guid=4958198328335252415">Cookie</a> now transparently import/export data in JSON format, so you can save objects and arrays in cookies</li>     <li><a class="api-ref" href="/misc/goto?guid=4958198329059786269">Xhr</a> now handles the X-JSON headers and automatically extracts JSON data from there. (thanks to Oleg Ivanov @morphekil)</li>     <li><a class="api-ref" href="/misc/goto?guid=4958198329059786269">Xhr</a> extracts JSON data on 'complete' instead of 'success'</li>     <li><a class="api-ref" href="/misc/goto?guid=4958198330475161381">Object#toQueryString</a> now handles nested objects of any depth</li>     <li><tt>isNumber(NaN)</tt> now returns <tt>false</tt></li>     <li>Smooth window scrolling fix</li>    </ul>    <h3>Plugin And UI Updates</h3>    <ul class="changelog">     <li><a href="/misc/goto?guid=4958198331206540425">Calendar</a> now supports the <tt>highlight</tt> option where you can specify a list of dates you want to be highlighted in the calendar</li>     <li><a href="/misc/goto?guid=4958198331949412094">Slider</a> now supports two handle configurations to work with ranges</li>     <li><a href="/misc/goto?guid=4958198332690654285">RTEE</a> was updated with several bug-fixes</li>     <li><a href="/misc/goto?guid=4958198333419838841">Rails Support</a> module was updated with several important fixes and the <tt>data-disable-with</tt> attributes support (thanks to Alexander Dryzhuk https://github.com/amdest)</li>    </ul>    <p><a href="/misc/goto?guid=4958198334157021991">RightJS CDN</a> is also was updated. The right-rails gem will be updated shortly as well.</p>    <p>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!<br /> </p>    <p>RightJS 是一个功能非常丰富的 JavaScript 框架,其中 UI 部分包含的组件有:</p>    <ul>     <li><a href="/misc/goto?guid=4958198334889843509">Autocompleter</a></li>     <li><a href="/misc/goto?guid=4958198335629181535">Billboard</a></li>     <li><a href="/misc/goto?guid=4958198331206540425">Calendar</a></li>     <li><a href="/misc/goto?guid=4958198337045747778">Colorpicker</a></li>     <li><a href="/misc/goto?guid=4958198337780822425">Dialog</a></li>     <li><a href="/misc/goto?guid=4958198338508567460">In Place Edit</a></li>     <li><a href="/misc/goto?guid=4958198339241931405">Lightbox</a></li>     <li><a href="/misc/goto?guid=4958198339968813387">Rater</a></li>     <li><a href="/misc/goto?guid=4958198340710274665">Resizable</a></li>     <li><a href="/misc/goto?guid=4958198341446395621">Selectable</a></li>     <li><a href="/misc/goto?guid=4958198331949412094">Slider</a></li>     <li><a href="/misc/goto?guid=4958198342855800467">Sortable</a></li>     <li><a href="/misc/goto?guid=4958198343582735467">Tabs</a></li>     <li><a href="/misc/goto?guid=4958198344313867189">Tooltips</a></li>     <li><a href="/misc/goto?guid=4958198345051558478">Uploader</a><br /> </li>    </ul>    <p>项目地址:<a href="/misc/goto?guid=4958198345781437823" target="_blank">http://rightjs.org/</a></p>