blackberry/bbUI.js — pull request #761 by glasspear (2013-03-25 17:16:44+00:00)
Title: application menu update

Code to fixes #379

Menu now behaves properly on BB10 devices, and PlayBook with the BB10 flag. It still has original behaviour for PlayBook without the BB10 flag.

I believe it behaves and looks as specified in the UI/UX document.

There are now options for:
data-bb-pin="right" - pulls this icon to the far right
data-bb-pin="left" - pulls this icon to the far left

Both of these grab the first item specified, subsequent items are treated as normal items. They are there to make it easier to place help and settings menu.

swipedown/onswipe menu is now disabled if Tab Overflow or CCM are displaying.