You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/05/01 22:31:53 UTC
[4/7] js commit: was missing getMetadata, and getParent
was missing getMetadata, and getParent
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/17931304
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/17931304
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/17931304
Branch: refs/heads/master
Commit: 1793130445b44035b2af394ef67c9078dfa58520
Parents: 97d4ff5
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Tue May 1 12:21:10 2012 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Tue May 1 12:21:10 2012 -0700
----------------------------------------------------------------------
lib/wp7/exec.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/17931304/lib/wp7/exec.js
----------------------------------------------------------------------
diff --git a/lib/wp7/exec.js b/lib/wp7/exec.js
index 8e37130..77bd775 100644
--- a/lib/wp7/exec.js
+++ b/lib/wp7/exec.js
@@ -9,6 +9,8 @@ var cordova = require('cordova');
var NamedArgs = {
File:{
getFileMetadata:["fullPath"],
+ getMetadata:["fullPath"],
+ getParent:["fullPath"],
readAsText:["fileName","encoding"],
readAsDataURL:["fileName"],
getDirectory:["fullPath","path","options"],
@@ -67,6 +69,7 @@ var NamedArgs = {
module.exports = function(success, fail, service, action, args) {
+
var callbackId = service + cordova.callbackId++;
if (typeof success == "function" || typeof fail == "function")
{