You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ripple.apache.org by br...@apache.org on 2014/04/25 00:29:25 UTC

[06/10] git commit: There were some unused variables.

There were some unused variables.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ripple/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ripple/commit/703d4793
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ripple/tree/703d4793
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ripple/diff/703d4793

Branch: refs/heads/master
Commit: 703d4793073a38f5e137c3077bee9b16905a6bdf
Parents: 3271036
Author: Brent Lintner <br...@gmail.com>
Authored: Thu Apr 24 18:09:39 2014 -0400
Committer: Brent Lintner <br...@gmail.com>
Committed: Thu Apr 24 18:09:39 2014 -0400

----------------------------------------------------------------------
 lib/client/platform/cordova/3.0.0/bridge/scanditsdk.js | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ripple/blob/703d4793/lib/client/platform/cordova/3.0.0/bridge/scanditsdk.js
----------------------------------------------------------------------
diff --git a/lib/client/platform/cordova/3.0.0/bridge/scanditsdk.js b/lib/client/platform/cordova/3.0.0/bridge/scanditsdk.js
index ba15dc6..9d597fa 100644
--- a/lib/client/platform/cordova/3.0.0/bridge/scanditsdk.js
+++ b/lib/client/platform/cordova/3.0.0/bridge/scanditsdk.js
@@ -19,8 +19,7 @@
  *
  */
 
-var ui              = ripple('ui'),
-    db              = ripple('db'),
+var db              = ripple('db'),
     dialogTmpl      = '<div><input type="text" class="ui-state-default ui-corner-all" placeholder="Barcode or blank for error call"/></div>';
 
 module.exports = {
@@ -31,9 +30,7 @@ module.exports = {
 
         if( !args.length || typeof args[0] != "string" ) throw new Error('Application key is required');
 
-        var appKey          = args[0],
-            appCfg          = args.length > 1 ? args[1] : {},
-            barcode         = db.retrieve('lastBarcode', 'scanditsdk'),
+        var barcode         = db.retrieve('lastBarcode', 'scanditsdk'),
             barcodeType,
             dialogContainer = $( dialogTmpl ).attr({
                 id      : 'dialog-requestbarcode',