Skip to content

Commit

Permalink
- cleaned up parent namespaces in each api
Browse files Browse the repository at this point in the history
- renamed menu/menuitem files to fall under blackberry_ui_
- fixed overload for blackberry.push.Data.prototype.getHeaderField() so it does not get clobbered as a duplicate
- removed duplicate blackberry.invoke.BrowserArguments
  • Loading branch information
marek committed May 2, 2011
1 parent f3839f1 commit e96d9e0
Show file tree
Hide file tree
Showing 50 changed files with 54 additions and 282 deletions.
6 changes: 0 additions & 6 deletions api/blackberry_audio.js
Expand Up @@ -15,12 +15,6 @@
*/


/**
* @namespace
*/
blackberry = { };


/**
* @toc {Audio} Audio
* @BB50+
Expand Down
6 changes: 0 additions & 6 deletions api/blackberry_audio_Player.js
Expand Up @@ -15,12 +15,6 @@
*/


/**
* @namespace
*/
blackberry.audio = { };


/**
* <div><p>
* The audio player is intended to play audio content only.
Expand Down
5 changes: 5 additions & 0 deletions api/blackberry_find.js
Expand Up @@ -14,4 +14,9 @@
* limitations under the License.
*/

/**
* @namespace
*/
blackberry.find = { };

This comment has been minimized.

Copy link
@jeffheifetz

jeffheifetz May 2, 2011

I don't think we need to add empty namespace objects. They will simply create relatively empty HTML pages.


4 changes: 0 additions & 4 deletions api/blackberry_find_FilterExpression.js
Expand Up @@ -15,10 +15,6 @@
*/


/**
* @namespace
*/
blackberry.find = { };


/**
Expand Down
6 changes: 0 additions & 6 deletions api/blackberry_focus.js
Expand Up @@ -15,12 +15,6 @@
*/


/**
* @namespace
*/
blackberry = { };


/**
* <div><h3>Guidelines</h3><p>
* If the BlackBerry device doesn't have a trackball or trackpad, the focus-based navigation mode will not be enabled even if the widget configuration document specifies that focus-based navigation is used.
Expand Down
5 changes: 0 additions & 5 deletions api/blackberry_identity.js
Expand Up @@ -15,11 +15,6 @@
*/


/**
* @namespace
*/
blackberry = { };


/**
* @toc {Identity} Identity
Expand Down
6 changes: 0 additions & 6 deletions api/blackberry_identity_Service.js
Expand Up @@ -15,12 +15,6 @@
*/


/**
* @namespace
*/
blackberry.identity = { };


/**
* <div><p>
* A Service object will describe different settings for different kinds of accounts on the BlackBerry device. A user might have Hotmail account, a Unite account, and a BES account on the device.
Expand Down
6 changes: 0 additions & 6 deletions api/blackberry_identity_Transport.js
Expand Up @@ -15,12 +15,6 @@
*/


/**
* @namespace
*/
blackberry.identity = { };


/**
* <div><p>
* Transport objects behave like a registry, in that they allow you to keep track of the various configuration settings of your BlackBerry device. The Transport object is an instance object that cannot be created using the new keyword.
Expand Down
6 changes: 0 additions & 6 deletions api/blackberry_identity_phone.js
Expand Up @@ -15,12 +15,6 @@
*/


/**
* @namespace
*/
blackberry.identity = { };


/**
* <div><p>
* The Phone Identity object is static; all of its functions and properties are used directly from the object.
Expand Down
18 changes: 0 additions & 18 deletions api/blackberry_invoke.js
Expand Up @@ -35,24 +35,6 @@
*/
blackberry.invoke = {

BrowserArguments :
{
/**
* Open Browser application on the BlackBerry Playbook.
* @class The BrowserArguments object is an instance object, and is used as a parameter to the invoke() method when invoking the BlackBerry Browser application.
* <p/>
* The BrowserArguments object must be created as an instance using the new keyword.
* @toc {Invoke} BrowserArguments
* @featureID blackberry.invoke
* @featureID blackberry.invoke.BrowserArguments
* @BB50+
* @PB10
* @constructs
* @param {String} url The desired url to bring up in the browser.
*/
constructor : function(url){}
},

/**
* @desc Invokes another application on the BlackBerry Playbook.
* @param {Number} appType an integer value representing the type of application to launch. Must be one of the 'APP_*' constants.
Expand Down
7 changes: 0 additions & 7 deletions api/blackberry_invoke_AddressBookArguments.js
Expand Up @@ -14,13 +14,6 @@
* limitations under the License.
*/


/**
* @namespace
*/
blackberry.invoke = { };


/**
* <div><p>
* The AddressBookArguments object must be created as an instance using the new keyword.
Expand Down
6 changes: 0 additions & 6 deletions api/blackberry_invoke_BrowserArguments.js
Expand Up @@ -15,12 +15,6 @@
*/


/**
* @namespace
*/
blackberry.invoke = { };


/**
* <div><p>
* The BrowserArguments object must be created as an instance using the new keyword.
Expand Down
7 changes: 0 additions & 7 deletions api/blackberry_invoke_CalendarArguments.js
Expand Up @@ -14,13 +14,6 @@
* limitations under the License.
*/


/**
* @namespace
*/
blackberry.invoke = { };


/**
* <div><p>
* The CalendarArguments object must be created as an instance using the new keyword.
Expand Down
7 changes: 0 additions & 7 deletions api/blackberry_invoke_CameraArguments.js
Expand Up @@ -14,13 +14,6 @@
* limitations under the License.
*/


/**
* @namespace
*/
blackberry.invoke = { };


/**
* <div><p>
* The CameraArguments object must be created as an instance using the new keyword.
Expand Down
7 changes: 0 additions & 7 deletions api/blackberry_invoke_JavaArguments.js
Expand Up @@ -14,13 +14,6 @@
* limitations under the License.
*/


/**
* @namespace
*/
blackberry.invoke = { };


/**
* <div><p>
* The JavaArguments object must be created as an instance using the new keyword.
Expand Down
7 changes: 0 additions & 7 deletions api/blackberry_invoke_MapsArguments.js
Expand Up @@ -14,13 +14,6 @@
* limitations under the License.
*/


/**
* @namespace
*/
blackberry.invoke = { };


/**
* <div><p>
* The MapsArguments object must be created as an instance using the new keyword.
Expand Down
7 changes: 0 additions & 7 deletions api/blackberry_invoke_MemoArguments.js
Expand Up @@ -14,13 +14,6 @@
* limitations under the License.
*/


/**
* @namespace
*/
blackberry.invoke = { };


/**
* <div><p>
* The MemoArguments object must be created as an instance using the new keyword.
Expand Down
7 changes: 0 additions & 7 deletions api/blackberry_invoke_MessageArguments.js
Expand Up @@ -14,13 +14,6 @@
* limitations under the License.
*/


/**
* @namespace
*/
blackberry.invoke = { };


/**
* <div><p>
* The MessageArguements object must be created as an instance using the new keyword.
Expand Down
7 changes: 0 additions & 7 deletions api/blackberry_invoke_PhoneArguments.js
Expand Up @@ -14,13 +14,6 @@
* limitations under the License.
*/


/**
* @namespace
*/
blackberry.invoke = { };


/**
* <div><p>
* The PhoneArguments object must be created as an instance using the new keyword.
Expand Down
6 changes: 0 additions & 6 deletions api/blackberry_invoke_SearchArguments.js
Expand Up @@ -15,12 +15,6 @@
*/


/**
* @namespace
*/
blackberry.invoke = { };


/**
* <div><p>
* The SearchArguments object must be created as an instance using the new keyword.
Expand Down
7 changes: 0 additions & 7 deletions api/blackberry_invoke_TaskArguments.js
Expand Up @@ -14,13 +14,6 @@
* limitations under the License.
*/


/**
* @namespace
*/
blackberry.invoke = { };


/**
* <div><p>
* The TaskArguments object must be created as an instance using the new keyword.
Expand Down
6 changes: 6 additions & 0 deletions api/blackberry_io.js
Expand Up @@ -15,3 +15,9 @@
*/



/**
* @namespace
*/
blackberry.io = { };

This comment has been minimized.

Copy link
@jeffheifetz

jeffheifetz May 2, 2011

I don't think we need to add empty namespace objects. They will simply create relatively empty HTML pages.

7 changes: 0 additions & 7 deletions api/blackberry_io_dir.js
Expand Up @@ -14,13 +14,6 @@
* limitations under the License.
*/


/**
* @namespace
*/
blackberry.io = { };


/**
* @toc {IO} Directory
* @BB50+
Expand Down
7 changes: 0 additions & 7 deletions api/blackberry_io_file.js
Expand Up @@ -14,13 +14,6 @@
* limitations under the License.
*/


/**
* @namespace
*/
blackberry.io = { };


/**
* @toc {IO} File
* @BB50+
Expand Down
7 changes: 0 additions & 7 deletions api/blackberry_io_file_FileProperties.js
Expand Up @@ -14,13 +14,6 @@
* limitations under the License.
*/


/**
* @namespace
*/
blackberry.io.file = { };


/**
* <div><p>
* This class can only be created by using the "blackberry.io.file.getFileProperties()" method.
Expand Down
6 changes: 6 additions & 0 deletions api/blackberry_message.js
Expand Up @@ -15,3 +15,9 @@
*/



/**
* @namespace
*/
blackberry.message = { };

This comment has been minimized.

Copy link
@jeffheifetz

jeffheifetz May 2, 2011

I don't think we need to add empty namespace objects. They will simply create relatively empty HTML pages.

6 changes: 0 additions & 6 deletions api/blackberry_message_SMS.js
Expand Up @@ -15,12 +15,6 @@
*/


/**
* @namespace
*/
blackberry.message = { };


/**
* @toc {Message} SMS
* @BB50+
Expand Down
6 changes: 0 additions & 6 deletions api/blackberry_messaging_Message.js
Expand Up @@ -15,12 +15,6 @@
*/


/**
* @namespace
*/
blackberry.message = { };


/**
* <div><p>
* The Message object is an instance object, where if a new instance is desired, it must be created using the new keyword.
Expand Down
6 changes: 6 additions & 0 deletions api/blackberry_phone.js
Expand Up @@ -15,3 +15,9 @@
*/


/**
* @namespace
*/
blackberry.phone = { };


This comment has been minimized.

Copy link
@jeffheifetz

jeffheifetz May 2, 2011

I don't think we need to add empty namespace objects. They will simply create relatively empty HTML pages.

4 changes: 0 additions & 4 deletions api/blackberry_phone_Phone.js
Expand Up @@ -15,10 +15,6 @@
*/


/**
* @namespace
*/
blackberry.phone = { };


/**
Expand Down

1 comment on commit e96d9e0

@jeffheifetz
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great fix, this way we won't deal wit useless warnings and the hickups of double definitions.

Please sign in to comment.