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
[3/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/94492695
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/94492695
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/94492695
Branch: refs/heads/master
Commit: 94492695c6045bd876f5f50ea728520248b195c9
Parents: b2bfa32
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:27:44 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/94492695/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")
{