cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [5/5] js commit: [common] linting issue with function declaration
Date Wed, 10 Oct 2012 00:53:49 GMT
[common] linting issue with function declaration


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

Branch: refs/heads/master
Commit: ff0c696ee73f427e569e36208c52fc44a97b777c
Parents: e4561c4
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Tue Oct 9 16:57:35 2012 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Tue Oct 9 16:57:35 2012 -0700

----------------------------------------------------------------------
 lib/scripts/bootstrap.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/ff0c696e/lib/scripts/bootstrap.js
----------------------------------------------------------------------
diff --git a/lib/scripts/bootstrap.js b/lib/scripts/bootstrap.js
index 84d1036..7887e7b 100644
--- a/lib/scripts/bootstrap.js
+++ b/lib/scripts/bootstrap.js
@@ -23,7 +23,7 @@
     // Replace navigator before any modules are required(), to ensure it happens as soon
as possible.
     // We replace it so that properties that can't be clobbered can instead be overridden.
     if (typeof navigator != 'undefined') {
-        function CordovaNavigator() {}
+        var CordovaNavigator = function () {};
         CordovaNavigator.prototype = navigator;
         navigator = new CordovaNavigator();
     }


Mime
View raw message