Skip to content
Permalink
Browse files
  • Loading branch information
Anis Kadri committed Jun 5, 2014
2 parents 442a2b1 + d970db7 commit bf2d55eb43032481c588792f02349cdd041a1f93
Showing 2 changed files with 3 additions and 0 deletions.
@@ -46,6 +46,8 @@ module.exports = function (success, fail, service, action, args) {
onSuccess,
onError;

args = args || [];

if (proxy) {
callbackId = service + cordova.callbackId++;
// console.log("EXEC:" + service + " : " + action);
@@ -44,6 +44,7 @@ module.exports = function(success, fail, service, action, args) {
if (typeof success == "function" || typeof fail == "function") {
cordova.callbacks[callbackId] = {success:success, fail:fail};
}
args = args || [];
// generate a new command string, ex. DebugConsole/log/DebugConsole23/["wtf dude?"]
for(var n = 0; n < args.length; n++)
{

0 comments on commit bf2d55e

Please sign in to comment.