cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject js commit: CB-8802 fixed incorrect variable declaration
Date Tue, 19 May 2015 01:15:13 GMT
Repository: cordova-js
Updated Branches:
  refs/heads/master 4a250651c -> 9bd29ffa4


CB-8802 fixed incorrect variable declaration


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

Branch: refs/heads/master
Commit: 9bd29ffa4a74751df23d8842fd4c2f494307aa40
Parents: 4a25065
Author: Steve Gill <stevengill97@gmail.com>
Authored: Mon May 18 18:15:08 2015 -0700
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Mon May 18 18:15:08 2015 -0700

----------------------------------------------------------------------
 tasks/lib/require-tr.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/9bd29ffa/tasks/lib/require-tr.js
----------------------------------------------------------------------
diff --git a/tasks/lib/require-tr.js b/tasks/lib/require-tr.js
index a5be011..628c428 100644
--- a/tasks/lib/require-tr.js
+++ b/tasks/lib/require-tr.js
@@ -129,11 +129,12 @@ function _updateRequires(code, platform) {
         }
 
         var module = node.args[0].value;
+        console.log(module)
         // make sure require only has one argument and that it starts with cordova (old style
require.js)
         if(module !== undefined &&
            module.indexOf("cordova") === 0) {
 
-          var scriptpath;
+          var scriptPath;
           var cordovajssrc = path.join(process.cwd(), "platforms", platform, "platform_www",
"cordova-js-src")
 
     


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message