You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2015/05/19 03:15:13 UTC
js commit: CB-8802 fixed incorrect variable declaration
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 <st...@gmail.com>
Authored: Mon May 18 18:15:08 2015 -0700
Committer: Steve Gill <st...@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