cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [4/4] git commit: Slight tweak for wp8 support in action-stack.
Date Wed, 03 Jul 2013 17:19:27 GMT
Slight tweak for wp8 support in action-stack.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/823f9a82
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/823f9a82
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/823f9a82

Branch: refs/heads/master
Commit: 823f9a82fa63deb486d84eaf5264d22e2c46824d
Parents: ab34d89
Author: Fil Maj <maj.fil@gmail.com>
Authored: Wed Jul 3 10:17:55 2013 -0700
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Wed Jul 3 10:17:55 2013 -0700

----------------------------------------------------------------------
 src/util/action-stack.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/823f9a82/src/util/action-stack.js
----------------------------------------------------------------------
diff --git a/src/util/action-stack.js b/src/util/action-stack.js
index 19602fb..c26bd9e 100644
--- a/src/util/action-stack.js
+++ b/src/util/action-stack.js
@@ -57,7 +57,7 @@ ActionStack.prototype = {
                     var undo = this.completed.shift();
                     var revert = undo.reverter.run;
                     var revert_params = undo.reverter.params;
-                    if (platform == 'ios' || platform == 'wp7') revert_params.push(project_files);
+                    if (platform == 'ios' || platform == 'wp7' || platform == 'wp8') revert_params.push(project_files);
                     try {
                         revert.apply(null, revert_params);
                     } catch(err) {
@@ -77,8 +77,8 @@ ActionStack.prototype = {
             events.emit('log', 'Writing out iOS pbxproj file...');
             fs.writeFileSync(project_files.pbx, project_files.xcode.writeSync());
         }
-        if (platform == 'wp7') {
-            events.emit('log', 'Writing out WP7 project files...');
+        if (platform == 'wp7' || platform == 'wp8') {
+            events.emit('log', 'Writing out ' + platform + ' project files...');
             project_files.write();
         }
         if (callback) callback();


Mime
View raw message