blackberry/WebWorks-Samples — pull request #34 by astanley (2012-06-19 19:16:49+00:00)
Title: Fixed issue #31

As of PlayBook Tablet OS v2.1, the style object of JavaScript DOM objects is now read only (upstream WebKit change).

swipemenu was creating a separate style object, applying changes to it, and then overwriting the style object of a given DOM object. This is no longer allowed (read only).

Instead, this sample has been updated to make changes to the subproperties of the style object directly. This change is backwards compatible and supports the improvements made to the Tablet OS 2.1 web platform.