Skip to content
Permalink
Browse files
CB-9137 Fixes cordova-lib tests failures
  • Loading branch information
Vladimir Kotikov committed Jun 9, 2015
1 parent 796a18d commit 7d369f3299b3fb88165af3f1306e28973a799e5e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -97,7 +97,7 @@ var requireTr = {
return false;
},
getModules: function(platform) {
return this.modules[platform];
return this.modules[platform] || [];
},
addModule: function(module, platform) {
if(!module || !module.symbol || !module.path) {

0 comments on commit 7d369f3

Please sign in to comment.