Skip to content
Permalink
Browse files
CB-8802 fixed incorrect variable declaration
  • Loading branch information
stevengill committed May 19, 2015
1 parent 4a25065 commit 9bd29ffa4a74751df23d8842fd4c2f494307aa40
Showing 1 changed file with 2 additions and 1 deletion.
@@ -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")


0 comments on commit 9bd29ff

Please sign in to comment.