cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [1/2] js commit: maximzing jshint satisfaction
Date Thu, 05 Jun 2014 21:16:33 GMT
Repository: cordova-js
Updated Branches:
  refs/heads/master d970db708 -> bf2d55eb4


maximzing jshint satisfaction


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

Branch: refs/heads/master
Commit: 442a2b16c3d6972353a0081e001e51df70c05932
Parents: 67032ca
Author: Anis Kadri <anis@apache.org>
Authored: Thu Jun 5 14:16:21 2014 -0700
Committer: Anis Kadri <anis@apache.org>
Committed: Thu Jun 5 14:16:21 2014 -0700

----------------------------------------------------------------------
 src/cordova_b.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/442a2b16/src/cordova_b.js
----------------------------------------------------------------------
diff --git a/src/cordova_b.js b/src/cordova_b.js
index ff37766..63fd0d4 100644
--- a/src/cordova_b.js
+++ b/src/cordova_b.js
@@ -97,7 +97,7 @@ var cordova = {
             return cordova.exec;
         }
         if(module === "org.apache.cordova.media.Media") {
-            return window['Media'];
+            return window.Media;
         }
         
         return require(module);


Mime
View raw message