cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [12/18] git commit: keep generic stuff generic
Date Wed, 24 Jul 2013 22:39:52 GMT
keep generic stuff generic


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

Branch: refs/heads/plugman-registry
Commit: fe45a73df119ff9958c08b8c7e68d090185ef22f
Parents: 21b6d79
Author: purplecabbage <purplecabbage@gmail.com>
Authored: Wed Jul 24 01:03:38 2013 -0700
Committer: purplecabbage <purplecabbage@gmail.com>
Committed: Wed Jul 24 01:04:15 2013 -0700

----------------------------------------------------------------------
 spec/platforms/wp7.spec.js | 6 +++---
 spec/platforms/wp8.spec.js | 6 +++---
 src/platforms/wp7.js       | 2 +-
 src/platforms/wp8.js       | 2 +-
 src/util/action-stack.js   | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/fe45a73d/spec/platforms/wp7.spec.js
----------------------------------------------------------------------
diff --git a/spec/platforms/wp7.spec.js b/spec/platforms/wp7.spec.js
index dbbc8b2..7a6808c 100644
--- a/spec/platforms/wp7.spec.js
+++ b/spec/platforms/wp7.spec.js
@@ -33,7 +33,7 @@ var faulty_id = plugin_et._root.attrib['id'];
 
 shell.mkdir('-p', temp);
 shell.cp('-rf', path.join(wp7_project, '*'), temp);
-var proj_files = wp7.parseWP7ProjectFile(temp);
+var proj_files = wp7.parseProjectFile(temp);
 shell.rm('-rf', temp);
 
 function copyArray(arr) {
@@ -61,10 +61,10 @@ describe('wp7 project handler', function() {
         });
     });
 
-    describe('parseWP7ProjectFile method', function() {
+    describe('parseProjectFile method', function() {
         it('should throw if project is not an wp7 project', function() {
             expect(function() {
-                wp7.parseWP7ProjectFile(temp);
+                wp7.parseProjectFile(temp);
             }).toThrow('does not appear to be a Windows Phone project (no .csproj file)');
         });
     });

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/fe45a73d/spec/platforms/wp8.spec.js
----------------------------------------------------------------------
diff --git a/spec/platforms/wp8.spec.js b/spec/platforms/wp8.spec.js
index 89e9562..2df2b67 100644
--- a/spec/platforms/wp8.spec.js
+++ b/spec/platforms/wp8.spec.js
@@ -33,7 +33,7 @@ var faulty_id = plugin_et._root.attrib['id'];
 
 shell.mkdir('-p', temp);
 shell.cp('-rf', path.join(wp8_project, '*'), temp);
-var proj_files = wp8.parseWP8ProjectFile(temp);
+var proj_files = wp8.parseProjectFile(temp);
 shell.rm('-rf', temp);
 
 function copyArray(arr) {
@@ -61,10 +61,10 @@ describe('wp8 project handler', function() {
         });
     });
 
-    describe('parsewp8ProjectFile method', function() {
+    describe('parseProjectFile method', function() {
         it('should throw if project is not an wp8 project', function() {
             expect(function() {
-                wp8.parseWP8ProjectFile(temp);
+                wp8.parseProjectFile(temp);
             }).toThrow('does not appear to be a Windows Phone project (no .csproj file)');
         });
     });

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/fe45a73d/src/platforms/wp7.js
----------------------------------------------------------------------
diff --git a/src/platforms/wp7.js b/src/platforms/wp7.js
index b1f1660..b139271 100644
--- a/src/platforms/wp7.js
+++ b/src/platforms/wp7.js
@@ -30,7 +30,7 @@ module.exports = {
     package_name:function(project_dir) {
         return xml_helpers.parseElementtreeSync(path.join(project_dir, 'Properties', 'WMAppManifest.xml')).find('App').attrib.ProductID;
     },
-    parseWP7ProjectFile:function(project_dir) {
+    parseProjectFile:function(project_dir) {
         var project_files = glob.sync('*.csproj', {
             cwd:project_dir
         });

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/fe45a73d/src/platforms/wp8.js
----------------------------------------------------------------------
diff --git a/src/platforms/wp8.js b/src/platforms/wp8.js
index 1b67d37..b139271 100644
--- a/src/platforms/wp8.js
+++ b/src/platforms/wp8.js
@@ -30,7 +30,7 @@ module.exports = {
     package_name:function(project_dir) {
         return xml_helpers.parseElementtreeSync(path.join(project_dir, 'Properties', 'WMAppManifest.xml')).find('App').attrib.ProductID;
     },
-    parseWP8ProjectFile:function(project_dir) {
+    parseProjectFile:function(project_dir) {
         var project_files = glob.sync('*.csproj', {
             cwd:project_dir
         });

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/fe45a73d/src/util/action-stack.js
----------------------------------------------------------------------
diff --git a/src/util/action-stack.js b/src/util/action-stack.js
index fb63ce8..5eef1e6 100644
--- a/src/util/action-stack.js
+++ b/src/util/action-stack.js
@@ -34,11 +34,11 @@ ActionStack.prototype = {
         }
         if (platform == 'wp7') {
             require('../../plugman').emit('log', 'Parsing WP7 project files...');
-            project_files = wp7.parseWP7ProjectFile(project_dir);
+            project_files = wp7.parseProjectFile(project_dir);
         }
         if (platform == 'wp8') {
             require('../../plugman').emit('log', 'Parsing WP8 project files...');
-            project_files = wp8.parseWP8ProjectFile(project_dir);
+            project_files = wp8.parseProjectFile(project_dir);
         } 
         while(this.stack.length) {
             var action = this.stack.shift();


Mime
View raw message