Enyo 2.1.1 Release Notes
Welcome to Enyo 2.1.1. The following items have changes since the Enyo 2.1 release. (Note that this list is not comprehensive; see the commit history in GitHub for a complete list of changes.)
Enyo
In
msevents.js, rewrote event handling for IE10 to exclusively use newMSPointerevents.In
platform.jsandtouch.js, added detection for Silk browser to fix compatibility issues with Kindle Fire HD.In
platform.js, addedblackberryproperty, referring to major version number of BlackBerry OS; inControl.jsandScroller.js, made change to use JavaScript scroller instead of-webkit-overflow-scrolling:touchon BlackBerry platform.In
Button.js, explicitly set theenyo.Buttontype to"button", since the default type ("submit") could cause unintentional form submission.Addressed multiple issues relating to
Ajax.js:Added
xhrResponseproperty to preserve status, header, and body data in case the request fails and is canceled.Fixed issue causing bad
"Content-Type"header to be sent when the request body is a FormData object.Fixed issue that could cause parameters passed to
go()to not be added to the query string.Fixed new CORS problems in IE.
Onyx
Modified
DatePicker.jsandTimePicker.jsto use"en_us"as default locale ifg11nlibrary isn't loaded.In
PickerButton.js, added check for undefined content before call tosetContent.Added
"onyx-menu-label"CSS class foronyx.Menuobjects.Removed focused inner-border style for
onyx.Buttonobjects in Firefox on Windows.
Layout
Added new
ImageViewPincontrol, which may be used to display non-zoomable content ("pins") inside a zoomableImageViewcontrol.In
Arranger.js, added workaround for click target issues when using CSS transforms to position panels in IE10.In
Panels.js, added code to skipremoveComponenttransition logic when a Panels object is destroyed, to prevent transition events from being sent to the application.
Samples
- Fixed "GestureSample" to properly handle being relaunched.
Tools
Added new file
deploy.js, a Node-based cross-platform app deployment script that supersedes the existingdeploy.shanddeploy.bat. The latter two scripts continue to be available, although they are now simply wrappers fordeploy.js. Updated Bootplate template to usedeploy.js, while movingdeploy.shanddeploy.battobootplate/toolsdirectory.Note: The
tools/deploy.shandtools/deploy.batscripts must now be run from the root of the bootplate project (prior to 2.1.1 they were run from within thetoolsfolder).
Documentation
- Fixed display issues with API documentation for
enyo.ImageView.