You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2013/07/16 23:20:53 UTC

[2/8] docs commit: [CB-3962] other minor cleanup to BB plugin sect; better transitions to overview

[CB-3962] other minor cleanup to BB plugin sect; better transitions to overview


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/b4f636dc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/b4f636dc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/b4f636dc

Branch: refs/heads/master
Commit: b4f636dcea835fd471c2960007925ed7e1f82504
Parents: d84c7f7
Author: Mike Sierra <le...@gmail.com>
Authored: Tue Jul 16 10:06:05 2013 -0400
Committer: Michael Brooks <mi...@michaelbrooks.ca>
Committed: Tue Jul 16 14:15:43 2013 -0700

----------------------------------------------------------------------
 .../edge/guide/platforms/blackberry/plugin.md   | 42 +++++++++-----------
 1 file changed, 19 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b4f636dc/docs/en/edge/guide/platforms/blackberry/plugin.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/blackberry/plugin.md b/docs/en/edge/guide/platforms/blackberry/plugin.md
index 369f540..b8f78b0 100644
--- a/docs/en/edge/guide/platforms/blackberry/plugin.md
+++ b/docs/en/edge/guide/platforms/blackberry/plugin.md
@@ -20,31 +20,27 @@ license: Licensed to the Apache Software Foundation (ASF) under one
 BlackBerry Plugins
 =================================
 
-This guide explores how to develop the Echo plugin on BlackBerry.
-If you haven't read the top-level guide about the JavaScript part of
-the plugin, it would be best if you read that first and then this
-guide. In addition, please download the [Cordova Blackberry
-repo](https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry-webworks.git;a=summary).
-
-The Cordova-BlackBerry project allows you to deploy to BlackBerry
-devices such a the Torch and Bold, as well as the Playbook. There's a
-difference between deploying to normal BlackBerry handheld devices and
-the Playbook. They use two different code bases, so when you develop
-for one, you have to duplicate your efforts for the other!  This guide
-focuses on the handheld devices rather than the tablet. (In the future,
-this guide should cover both platforms.)
-
-Continuing on from the previous guide, the Echo plugin essentially
-returns whatever message a user provides to the `window.echo`
-function.
-
-The Echo function:
+This guide shows how to develop an Echo plugin on BlackBerry.  The
+Plugin Development Guide provides a broad overview with which you
+should already be familiar, and this guide picks up where it leaves
+off.  In addition, download the [Cordova Blackberry
+repository](https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry-webworks.git;a=summary).
+
+The `Cordova-BlackBerry` project allows you to deploy to BlackBerry
+devices such as the Torch, Bold, and Playbook. The Playbook uses a
+different code base than other BlackBerry handheld devices, for which
+you need to duplicate your development efforts.  This guide focuses on
+the handheld devices rather than tablets. (In the future, this guide
+should cover both platforms.)
+
+The Echo plugin essentially returns whatever message a user provides
+to the `window.echo` function:
 
     window.echo = function(str, callback) {
-            cordova.exec(callback, function(err) {
-                callback('Nothing to echo.');
-            }, "Echo", "echo", [str]);
-        };
+        cordova.exec(callback, function(err) {
+            callback('Nothing to echo.');
+        }, "Echo", "echo", [str]);
+    };
 
 ## Modifying plugins.xml