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/04/06 03:20:43 UTC
[20/40] git commit: merge+rebase+rejigger
merge+rebase+rejigger
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/7d5eb678
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/7d5eb678
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/7d5eb678
Branch: refs/heads/master
Commit: 7d5eb678e22e2f1dd300ed979e7e1311e7297bc8
Parents: 7904c1b 5e8fa5e
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Wed Mar 28 16:25:20 2012 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Wed Mar 28 16:25:20 2012 -0700
----------------------------------------------------------------------
lib/plugin/wp7/cordovaCommandResult.js | 36 -------------
lib/wp7/plugin/wp7/device.js | 74 ---------------------------
2 files changed, 0 insertions(+), 110 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/7d5eb678/lib/plugin/wp7/cordovaCommandResult.js
----------------------------------------------------------------------
diff --cc lib/plugin/wp7/cordovaCommandResult.js
index e58d2ab,e58d2ab..0000000
deleted file mode 100644,100644
--- a/lib/plugin/wp7/cordovaCommandResult.js
+++ /dev/null
@@@ -1,36 -1,36 +1,0 @@@
--
--
--var cordova = require('cordova');
--
--alert("stopMeNow!");
--//module.exports = {
-- // singular WP7 callback function attached to window, status is used to determin if it is a success or error
--var CordovaCommandResult = function(status,callbackId,args,cast) {
-- if(status === "backbutton") {
-- cordova.fireEvent(document,"backbutton");
-- return "true";
-- }
-- else if(status === "resume") {
-- cordova.onResume.fire();
-- return "true";
-- }
-- else if(status === "pause") {
--
-- cordova.onPause.fire();
-- return "true";
-- }
--
-- var safeStatus = parseInt(status, 10);
-- if(safeStatus === cordova.callbackStatus.NO_RESULT ||
-- safeStatus === cordova.callbackStatus.OK) {
-- cordova.callbackSuccess(callbackId,args,cast);
-- }
-- else
-- {
-- cordova.callbackError(callbackId,args,cast);
-- }
-- };
--
--//}
--
--module.exports = CordovaCommandResult;